[前][次][番号順一覧][スレッド一覧]

ruby-changes:22209

From: naruse <ko1@a...>
Date: Tue, 10 Jan 2012 12:50:36 +0900 (JST)
Subject: [ruby-changes:22209] naruse:r34258 (trunk): * gc.c: in fact, i686-linux doesn't need to define _XOPEN_SOURCE 600.

naruse	2012-01-10 12:50:23 +0900 (Tue, 10 Jan 2012)

  New Revision: 34258

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34258

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

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34257)
+++ ChangeLog	(revision 34258)
@@ -1,3 +1,7 @@
+Tue Jan 10 12:49:42 2012  NARUSE, Yui  <naruse@r...>
+
+	* gc.c: in fact, i686-linux doesn't need to define _XOPEN_SOURCE 600.
+
 Tue Jan 10 12:44:11 2012  NARUSE, Yui  <naruse@r...>
 
 	* gc.c (ruby_mimmalloc): defined for objects need not rb_objspace,
Index: gc.c
===================================================================
--- gc.c	(revision 34257)
+++ gc.c	(revision 34258)
@@ -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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]