summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-02 13:25:09 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-02 13:25:09 +0000
commitf408202de2f417e6cb44089fcb2f919bff2253dc (patch)
tree5b708e6d8ffd33c82a76d6268958c4641b0500a2 /process.c
parentf35f46a9f193ea0a5d7da69291818c8520366515 (diff)
downloadruby-f408202de2f417e6cb44089fcb2f919bff2253dc.tar.gz
* process.c: use sigaction instead of sigset. [ruby-core:21021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/process.c b/process.c
index ed84d516aa..0f2b55f8c7 100644
--- a/process.c
+++ b/process.c
@@ -2736,12 +2736,8 @@ rb_f_abort(int argc, VALUE *argv)
}
-#if defined(sun)
-#define signal(a,b) sigset(a,b)
-#else
-# if defined(POSIX_SIGNAL)
-# define signal(a,b) posix_signal(a,b)
-# endif
+#if defined(POSIX_SIGNAL)
+# define signal(a,b) posix_signal(a,b)
#endif
void