From 6a96646de2bbbe24f8d6c0bd3c31374012ae419e Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 31 Oct 2011 13:50:32 +0000 Subject: Fix previous commit (r33586). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index cbbc2f8289..7979e2ae08 100644 --- a/io.c +++ b/io.c @@ -253,7 +253,7 @@ rb_cloexec_pipe(int fildes[2]) 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; -- cgit v1.2.3