aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-31 13:50:32 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-31 13:50:32 +0000
commit6a96646de2bbbe24f8d6c0bd3c31374012ae419e (patch)
tree056aede8579be1a99b943a3fd002fb36f3f1b7e4 /io.c
parentca6311b0b50341f55993e47f2323af55be4d0ebb (diff)
downloadruby-6a96646de2bbbe24f8d6c0bd3c31374012ae419e.tar.gz
Fix previous commit (r33586).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
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;