summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/io.c b/io.c
index 3f666933c..ca8f93478 100644
--- a/io.c
+++ b/io.c
@@ -4850,11 +4850,7 @@ rb_io_s_pipe(VALUE klass)
int pipes[2], state;
VALUE r, w, args[3];
-#ifdef _WIN32
- if (_pipe(pipes, 1024, O_BINARY) == -1)
-#else
if (pipe(pipes) == -1)
-#endif
rb_sys_fail(0);
args[0] = klass;