mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
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:
parent
00307b9b30
commit
5524b9a5a3
@ -13,8 +13,6 @@
|
||||
#ifdef __APPLE__
|
||||
# include "CoreFoundation/CoreFoundation.h"
|
||||
# undef assert
|
||||
# define _XOPEN_SOURCE
|
||||
# define _DARWIN_C_SOURCE
|
||||
#endif
|
||||
|
||||
#include "sys/mman.h"
|
||||
|
Loading…
Reference in New Issue
Block a user