summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-04-12 20:51:42 +0000
committerRoland McGrath <roland@redhat.com>1993-04-12 20:51:42 +0000
commit8c01d0459a99d9e5a594c5c2d02fff68719ad1c9 (patch)
tree550b98d86659e189b6a3af2ac618c0770b5bc82a /main.c
parente4dce6fa1115a20d1540bd348c9ba98afa0c8585 (diff)
downloadgunmake-8c01d0459a99d9e5a594c5c2d02fff68719ad1c9.tar.gz
Formerly main.c.~78~
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index a76b479..c4a7ddf 100644
--- a/main.c
+++ b/main.c
@@ -695,9 +695,10 @@ main (argc, argv, envp)
/* Set up to handle children dying. This must be done before
reading in the makefiles so that `shell' function calls will work. */
-#if defined (SIGCHLD) && !defined (USG)
+#ifdef SIGCHLD
(void) signal (SIGCHLD, child_handler);
-#else
+#endif
+#ifdef SIGCLD
(void) signal (SIGCLD, child_handler);
#endif