From 6d19a82f63039b5f2c67d4455c15302ac4b439cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 17 Mar 2014 22:54:19 +0100 Subject: [PATCH] Don't define B_SPINLOCK_INITIALIZER for test app_server * I don't know what I am doing here, but the test app_server only ever built for me recently when I disabled the define, so I might as well commit this... --- headers/build/HaikuBuildCompatibility.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/build/HaikuBuildCompatibility.h b/headers/build/HaikuBuildCompatibility.h index 38b5197fb8..3b438fab68 100644 --- a/headers/build/HaikuBuildCompatibility.h +++ b/headers/build/HaikuBuildCompatibility.h @@ -72,7 +72,8 @@ typedef int socklen_t; # define B_FIRST_REAL_TIME_PRIORITY B_REAL_TIME_DISPLAY_PRIORITY #endif -#ifndef B_SPINLOCK_INITIALIZER +#if !defined(HAIKU_TARGET_PLATFORM_LIBBE_TEST) + && !defined(B_SPINLOCK_INITIALIZER) # define B_SPINLOCK_INITIALIZER 0 #endif