fix OS X 10.4 build

pthread_mach_thread_np is not declared in pthread.h on OS X unless
_XOPEN_SOURCE and _POSIX_C_SOURCE are undefined.
This commit is contained in:
Joel Dice 2011-02-19 14:36:48 -07:00
parent 00307b9b30
commit 5524b9a5a3

View File

@ -13,8 +13,6 @@
#ifdef __APPLE__
# include "CoreFoundation/CoreFoundation.h"
# undef assert
# define _XOPEN_SOURCE
# define _DARWIN_C_SOURCE
#endif
#include "sys/mman.h"