summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
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()
{