1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c: in fact, i686-linux doesn't need to define _XOPEN_SOURCE 600.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-01-10 03:50:23 +00:00
parent 56dc6f5acc
commit 931459d974
2 changed files with 4 additions and 3 deletions

View file

@ -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,

3
gc.c
View file

@ -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