2
0
Branimir Karadžić 9 жил өмнө
parent
commit
27bf33ac1b
1 өөрчлөгдсөн 10 нэмэгдсэн , 2 устгасан
  1. 10 2
      include/bx/mutex.h

+ 10 - 2
include/bx/mutex.h

@@ -13,9 +13,17 @@
 
 #if BX_CONFIG_SUPPORTS_THREADING
 
-#if BX_PLATFORM_NACL || BX_PLATFORM_LINUX || BX_PLATFORM_ANDROID || BX_PLATFORM_OSX
+#if 0 \
+	|| BX_PLATFORM_ANDROID \
+	|| BX_PLATFORM_LINUX \
+	|| BX_PLATFORM_NACL \
+	|| BX_PLATFORM_IOS \
+	|| BX_PLATFORM_OSX
 #	include <pthread.h>
-#elif BX_PLATFORM_WINDOWS || BX_PLATFORM_XBOX360 || BX_PLATFORM_WINRT
+#elif 0 \
+	|| BX_PLATFORM_WINDOWS \
+	|| BX_PLATFORM_WINRT \
+	|| BX_PLATFORM_XBOX360
 #	include <errno.h>
 #endif // BX_PLATFORM_