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