aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-11 02:12:00 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-11 02:12:00 +0000
commit1a14a7a1d78092161cd296d0aa14b7a17ce46edd (patch)
treea5b661a918293e227a3cbbafe57c6acea174538b /io.c
parent69ac654c90178dce12c3365afbc03447a0fccf78 (diff)
downloadruby-1a14a7a1d78092161cd296d0aa14b7a17ce46edd.tar.gz
Allow failure of sighandler installation on NativeClient.
* signal.c (install_signalhandler, init_sigchld): allow failure because it always fails with ENOSYS on NaCl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/io.c b/io.c
index 0be6b24a6f..4f98031c40 100644
--- a/io.c
+++ b/io.c
@@ -204,6 +204,9 @@ rb_update_max_fd(int fd)
}
}
+#undef HAVE_FCNTL
+#undef O_CLOEXEC
+
void
rb_maygvl_fd_fix_cloexec(int fd)
{