Skip to content

Commit

Permalink
* gc.c: in fact, i686-linux doesn't need to define _XOPEN_SOURCE 600.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Jan 10, 2012
1 parent 56dc6f5 commit 931459d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
3 changes: 0 additions & 3 deletions gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 931459d

Please sign in to comment.