(trunk libT) try to make the posix_memalign() #includes work right on Darwin too

This commit is contained in:
Charles Kerr 2010-02-23 06:15:47 +00:00
parent c615514944
commit 5667b80ba6
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@
#endif
#if defined(HAVE_POSIX_MEMALIGN) || defined(HAVE_VALLOC)
#define _XOPEN_SOURCE 600 /* pick posix_memalign and valloc declarations */
#if !defined(SYS_DARWIN)
#define _XOPEN_SOURCE 600 /* pick posix_memalign and valloc declarations */
#endif
#endif
#include <assert.h>