* lib-mem.c: with all the preprocessor crap that we now have in C files,
libc.h no longer cleanly includes on OS X and we need more preprocessor
crap to fix it. Adding _DARWIN_C_SOURCE.
This commit is contained in:
parent
7778db7386
commit
29e4f4b339
@ -33,6 +33,8 @@
|
||||
#define _POSIX_C_SOURCE 3
|
||||
/* Need this to get valloc() on OpenSolaris */
|
||||
#define __EXTENSIONS__
|
||||
/* Need this to include <libc.h> on OS X */
|
||||
#define _DARWIN_C_SOURCE
|
||||
/* Use this to get posix_memalign */
|
||||
#if defined HAVE_POSIX_MEMALIGN
|
||||
# define _XOPEN_SOURCE 600
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user