From 82053dd9457c8bed0b493a0e13e9c005fa9ffbb9 Mon Sep 17 00:00:00 2001 From: Tom Black Date: Sat, 15 Sep 2018 13:55:11 -0700 Subject: Exclude pipe and exec on iOS/tvOS Use of `execl()` is prohibited on these platforms --- mrbgems/mruby-io/src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) { -- cgit v1.2.3