diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Tue Jan 10 12:49:42 2012 NARUSE, Yui <naruse@ruby-lang.org> + + * gc.c: in fact, i686-linux doesn't need to define _XOPEN_SOURCE 600. + Tue Jan 10 12:44:11 2012 NARUSE, Yui <naruse@ruby-lang.org> * gc.c (ruby_mimmalloc): defined for objects need not rb_objspace, @@ -37,9 +37,6 @@ #if defined _WIN32 || defined __CYGWIN__ #include <windows.h> #elif defined(HAVE_POSIX_MEMALIGN) -# ifdef __linux__ /* i386 linux needs #define _XOPEN_SOURCE 600 to use posix_memalign */ -# define _XOPEN_SOURCE 600 -# endif #elif defined(HAVE_MEMALIGN) #include <malloc.h> #endif |