add spinlock initializer constant for BeOS

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29173 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2009-02-09 19:06:44 +00:00
parent a6809d0e5c
commit 620d41514f

View File

@ -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_)))