diff options
| author | Tom Black <[email protected]> | 2018-09-15 13:55:11 -0700 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2018-09-15 13:55:11 -0700 |
| commit | 82053dd9457c8bed0b493a0e13e9c005fa9ffbb9 (patch) | |
| tree | 2967308dc72ae08a0789819c36b83e5587517d56 | |
| parent | ed4dbce052bd58a7a6d493936711f447792dec20 (diff) | |
| download | mruby-82053dd9457c8bed0b493a0e13e9c005fa9ffbb9.tar.gz mruby-82053dd9457c8bed0b493a0e13e9c005fa9ffbb9.zip | |
Exclude pipe and exec on iOS/tvOS
Use of `execl()` is prohibited on these platforms
| -rw-r--r-- | mrbgems/mruby-io/src/io.c | 2 |
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]) { |
