(trunk libT) try to make the posix_memalign() #includes work right on Darwin too
This commit is contained in:
parent
c615514944
commit
5667b80ba6
|
@ -21,8 +21,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_POSIX_MEMALIGN) || defined(HAVE_VALLOC)
|
#if defined(HAVE_POSIX_MEMALIGN) || defined(HAVE_VALLOC)
|
||||||
|
#if !defined(SYS_DARWIN)
|
||||||
#define _XOPEN_SOURCE 600 /* pick posix_memalign and valloc declarations */
|
#define _XOPEN_SOURCE 600 /* pick posix_memalign and valloc declarations */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h> /* isalpha, tolower */
|
#include <ctype.h> /* isalpha, tolower */
|
||||||
|
|
Loading…
Reference in New Issue