Undefine _XOPEN_SOURCE before redefining it.

This commit is contained in:
Sam Hocevar
2009-10-27 00:01:25 +00:00
committed by sam
parent 35c9e3efb9
commit 4bcc868331
+1
View File
@@ -39,6 +39,7 @@
#define _DARWIN_C_SOURCE
/* Use this to get posix_memalign */
#if defined HAVE_POSIX_MEMALIGN
# undef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
#endif