summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-io/src/io.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-09-17 13:26:04 +0900
committerGitHub <[email protected]>2018-09-17 13:26:04 +0900
commit0ff1540e8ba6031474fa584b3d15ab5836c0bf7f (patch)
tree2967308dc72ae08a0789819c36b83e5587517d56 /mrbgems/mruby-io/src/io.c
parented4dbce052bd58a7a6d493936711f447792dec20 (diff)
parent82053dd9457c8bed0b493a0e13e9c005fa9ffbb9 (diff)
downloadmruby-0ff1540e8ba6031474fa584b3d15ab5836c0bf7f.tar.gz
mruby-0ff1540e8ba6031474fa584b3d15ab5836c0bf7f.zip
Merge pull request #4122 from blacktm/iphone-exclude-pipe-exec
Exclude pipe and exec on iOS/tvOS
Diffstat (limited to 'mrbgems/mruby-io/src/io.c')
-rw-r--r--mrbgems/mruby-io/src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c
index 8982650dd..1ac15aab3 100644
--- a/mrbgems/mruby-io/src/io.c
+++ b/mrbgems/mruby-io/src/io.c
@@ -209,7 +209,7 @@ mrb_fd_cloexec(mrb_state *mrb, int fd)
#endif
}
-#ifndef _WIN32
+#if !defined(_WIN32) && !TARGET_OS_IPHONE
static int
mrb_cloexec_pipe(mrb_state *mrb, int fildes[2])
{