mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Exclude pipe and exec on iOS/tvOS
Use of `execl()` is prohibited on these platforms
This commit is contained in:
@@ -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])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user