summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-io/src/io.c
diff options
context:
space:
mode:
authorTom Black <[email protected]>2018-09-15 13:55:11 -0700
committerTom Black <[email protected]>2018-09-15 13:55:11 -0700
commit82053dd9457c8bed0b493a0e13e9c005fa9ffbb9 (patch)
tree2967308dc72ae08a0789819c36b83e5587517d56 /mrbgems/mruby-io/src/io.c
parented4dbce052bd58a7a6d493936711f447792dec20 (diff)
downloadmruby-82053dd9457c8bed0b493a0e13e9c005fa9ffbb9.tar.gz
mruby-82053dd9457c8bed0b493a0e13e9c005fa9ffbb9.zip
Exclude pipe and exec on iOS/tvOS
Use of `execl()` is prohibited on these platforms
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])
{