diff options
| author | tgoodwin <tgoodwin> | 1998-02-16 16:30:38 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:04 +0100 |
| commit | ea419c7cb70e74f78049c421e5840bb77db66a76 (patch) | |
| tree | f324d205e3b584228e1356c60376e90f71261da5 /fn.c | |
| parent | 96e9ab556c494516074029a69e7661f7676a6f23 (diff) | |
HAVE_SYSV_SIGCLD
Diffstat (limited to 'fn.c')
| -rw-r--r-- | fn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ extern void inithandler() { null.type = nBody; null.u[0].p = null.u[1].p = NULL; for (i = 1; i < NUMOFSIGNALS; i++) -#ifndef HAVE_RESTARTABLE_SYSCALLS +#if HAVE_SYSV_SIGCLD if (i != SIGCLD) #endif if (sighandlers[i] == SIG_IGN) @@ -148,7 +148,7 @@ extern void fnassign(char *name, Node *def) { new->def = newdef; new->extdef = NULL; if (strncmp(name, "sig", conststrlen("sig")) == 0) { /* slight optimization */ -#ifndef HAVE_RESTARTABLE_SYSCALLS /* System V machines treat SIGCLD very specially */ +#if HAVE_SYSV_SIGCLD /* System V machines treat SIGCLD very specially */ if (streq(name, "sigcld")) rc_error("can't trap SIGCLD"); #endif |