diff options
| author | tim <tim> | 1997-07-01 19:57:45 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:01 +0100 |
| commit | df8f2d58845819d1973779918d9c97018edc1170 (patch) | |
| tree | 252d72dcb3bc24c495dc8de85298cbecf51dc24c /fn.c | |
| parent | 8a03ed3fc54e728f7ccd2fef40b7215e1d072054 (diff) | |
autoconf
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++) -#ifdef NOSIGCLD +#ifndef HAVE_RESTARTABLE_SYSCALLS 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 */ -#ifdef NOSIGCLD /* System V machines treat SIGCLD very specially */ +#ifndef HAVE_RESTARTABLE_SYSCALLS /* System V machines treat SIGCLD very specially */ if (streq(name, "sigcld")) rc_error("can't trap SIGCLD"); #endif |