From 2330faed36dd34f74ed3f155ad07cf1d75a2b818 Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Thu, 17 Oct 2013 19:48:30 -0700 Subject: [PATCH] iOS: Fixed pthread include. --- include/bx/os.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/bx/os.h b/include/bx/os.h index 2c94b62..3785c66 100644 --- a/include/bx/os.h +++ b/include/bx/os.h @@ -12,19 +12,22 @@ # include #elif BX_PLATFORM_NACL || BX_PLATFORM_ANDROID || BX_PLATFORM_LINUX || BX_PLATFORM_OSX || BX_PLATFORM_IOS # include // sched_yield -# if BX_PLATFORM_OSX || BX_PLATFORM_NACL +# if BX_PLATFORM_IOS || BX_PLATFORM_OSX || BX_PLATFORM_NACL # include // mach_port_t -# endif // BX_PLATFORM_OSX || BX_PLATFORM_NACL +# endif // BX_PLATFORM_IOS || BX_PLATFORM_OSX || BX_PLATFORM_NACL + # if BX_PLATFORM_NACL # include // nanosleep # else # include // nanosleep # include // dlopen, dlclose, dlsym # endif // BX_PLATFORM_NACL + # if BX_PLATFORM_LINUX # include // syscall # include # endif // BX_PLATFORM_LINUX + # if BX_PLATFORM_ANDROID # include "debug.h" // getTid is not implemented... # endif // BX_PLATFORM_ANDROID