iOS: Fixed pthread include.

This commit is contained in:
Branimir Karadzic
2013-10-17 19:48:30 -07:00
parent 340ac7412f
commit 2330faed36

View File

@@ -12,19 +12,22 @@
# include <windows.h>
#elif BX_PLATFORM_NACL || BX_PLATFORM_ANDROID || BX_PLATFORM_LINUX || BX_PLATFORM_OSX || BX_PLATFORM_IOS
# include <sched.h> // sched_yield
# if BX_PLATFORM_OSX || BX_PLATFORM_NACL
# if BX_PLATFORM_IOS || BX_PLATFORM_OSX || BX_PLATFORM_NACL
# include <pthread.h> // 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 <sys/nacl_syscalls.h> // nanosleep
# else
# include <time.h> // nanosleep
# include <dlfcn.h> // dlopen, dlclose, dlsym
# endif // BX_PLATFORM_NACL
# if BX_PLATFORM_LINUX
# include <unistd.h> // syscall
# include <sys/syscall.h>
# endif // BX_PLATFORM_LINUX
# if BX_PLATFORM_ANDROID
# include "debug.h" // getTid is not implemented...
# endif // BX_PLATFORM_ANDROID