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

ruby-changes:21539

From: naruse <ko1@a...>
Date: Mon, 31 Oct 2011 22:50:43 +0900 (JST)
Subject: [ruby-changes:21539] naruse:r33588 (trunk): Fix previous commit (r33586).

naruse	2011-10-31 22:50:32 +0900 (Mon, 31 Oct 2011)

  New Revision: 33588

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

  Log:
    Fix previous commit (r33586).

  Modified files:
    trunk/io.c

Index: io.c
===================================================================
--- io.c	(revision 33587)
+++ io.c	(revision 33588)
@@ -253,7 +253,7 @@
     static int try_pipe2 = 1;
     if (try_pipe2) {
         ret = pipe2(fildes, O_CLOEXEC);
-#ifdef defined(__NetBSD__)
+#ifdef __NetBSD__
         /* pipe2 is available since NetBSD 6.0. */
 	if (ret > 0)
 	    return 0;

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

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