summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-27 10:07:07 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-27 10:07:07 +0000
commitc4f26e46dbd3bd00f3e136fbcd7eb9f6c1e5646f (patch)
treef74dcb07b6fb5706a6ba11b556c3f7b5f5c6a21f /process.c
parent05d7f4887cfedd3a5ec8fe173359897d953e4e2b (diff)
Merge from ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/process.c b/process.c
index fa45829196..642c5982a6 100644
--- a/process.c
+++ b/process.c
@@ -1632,6 +1632,10 @@ rb_f_sleep(argc, argv)
}
+#if defined(SIGCLD) && !defined(SIGCHLD)
+# define SIGCHLD SIGCLD
+#endif
+
/*
* call-seq:
* Process.getpgrp => integer
@@ -1643,10 +1647,6 @@ rb_f_sleep(argc, argv)
* Process.getpgrp #=> 25527
*/
-#if defined(SIGCLD) && !defined(SIGCHLD)
-# define SIGCHLD SIGCLD
-#endif
-
static VALUE
proc_getpgrp()
{