summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-23 05:56:25 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-23 05:56:25 +0000
commit0e2d2e6a794d3e9e6a55be37b9b640c902bc501b (patch)
treeaa6148c34b5fcc74078e7bf822bbbd1bb2c0a41b /signal.c
parent08524bc59477176b270a0249784af4e37ab3fed9 (diff)
Drop to support NaCl platform.
Because NaCl and PNaCl are already sunset status. see https://bugs.chromium.org/p/chromium/issues/detail?id=239656#c160 configure.ac: Patch for this file was provided by @nobu. [Feature #14041][ruby-core:83497][fix GH-1726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/signal.c b/signal.c
index 113bfe7d24..78e31e92b0 100644
--- a/signal.c
+++ b/signal.c
@@ -41,10 +41,6 @@
# define VALGRIND_MAKE_MEM_UNDEFINED(p, n) 0
#endif
-#if defined(__native_client__) && defined(NACL_NEWLIB)
-# include "nacl/signal.h"
-#endif
-
extern ID ruby_static_id_signo;
#define id_signo ruby_static_id_signo
@@ -1407,10 +1403,9 @@ install_sighandler(int signum, sighandler_t handler)
}
return 0;
}
-#ifndef __native_client__
+
# define install_sighandler(signum, handler) \
INSTALL_SIGHANDLER(install_sighandler(signum, handler), #signum, signum)
-#endif
#if defined(SIGCLD) || defined(SIGCHLD)
static int
@@ -1428,10 +1423,9 @@ init_sigchld(int sig)
}
return 0;
}
-# ifndef __native_client__
+
# define init_sigchld(signum) \
INSTALL_SIGHANDLER(init_sigchld(signum), #signum, signum)
-# endif
#endif
void