Browse Source

Fixed build.

Branimir Karadžić 9 years ago
parent
commit
ab36e91298
1 changed files with 9 additions and 0 deletions
  1. 9 0
      include/bx/mutex.h

+ 9 - 0
include/bx/mutex.h

@@ -12,6 +12,15 @@
 
 #if BX_CONFIG_SUPPORTS_THREADING
 
+#if 0 \
+	|| BX_PLATFORM_ANDROID \
+	|| BX_PLATFORM_LINUX \
+	|| BX_PLATFORM_NACL \
+	|| BX_PLATFORM_IOS \
+	|| BX_PLATFORM_OSX
+#	include <pthread.h>
+#endif //
+
 namespace bx
 {
 	///