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:
@@ -61,6 +61,10 @@ typedef int socklen_t;
|
|||||||
# define B_FIRST_REAL_TIME_PRIORITY B_REAL_TIME_DISPLAY_PRIORITY
|
# define B_FIRST_REAL_TIME_PRIORITY B_REAL_TIME_DISPLAY_PRIORITY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef B_SPINLOCK_INITIALIZER
|
||||||
|
# define B_SPINLOCK_INITIALIZER 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __GNUC__
|
#if __GNUC__
|
||||||
# define _PRINTFLIKE(_format_, _args_) \
|
# define _PRINTFLIKE(_format_, _args_) \
|
||||||
__attribute__((format(__printf__, _format_, _args_)))
|
__attribute__((format(__printf__, _format_, _args_)))
|
||||||
|
|||||||
Reference in New Issue
Block a user