From 620d41514ffc11ce3020fff18622c86e11606c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 9 Feb 2009 19:06:44 +0000 Subject: [PATCH] add spinlock initializer constant for BeOS git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29173 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/build/HaikuBuildCompatibility.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/headers/build/HaikuBuildCompatibility.h b/headers/build/HaikuBuildCompatibility.h index b824b8e0c1..3f55e4179a 100644 --- a/headers/build/HaikuBuildCompatibility.h +++ b/headers/build/HaikuBuildCompatibility.h @@ -61,6 +61,10 @@ typedef int socklen_t; # define B_FIRST_REAL_TIME_PRIORITY B_REAL_TIME_DISPLAY_PRIORITY #endif +#ifndef B_SPINLOCK_INITIALIZER +# define B_SPINLOCK_INITIALIZER 0 +#endif + #if __GNUC__ # define _PRINTFLIKE(_format_, _args_) \ __attribute__((format(__printf__, _format_, _args_)))