diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 7db18c343c0..cc003ee8202 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -334,11 +334,11 @@ wait_for_termination (pid) | |||
| 334 | else | 334 | else |
| 335 | sigpause (SIGEMPTYMASK); | 335 | sigpause (SIGEMPTYMASK); |
| 336 | #else /* not BSD, not LINUX, and not HPUX version >= 6 */ | 336 | #else /* not BSD, not LINUX, and not HPUX version >= 6 */ |
| 337 | #ifdef UNIPLUS | 337 | #if defined (UNIPLUS) || defined (LINUX) |
| 338 | if (0 > kill (pid, 0)) | 338 | if (0 > kill (pid, 0)) |
| 339 | break; | 339 | break; |
| 340 | wait (0); | 340 | wait (0); |
| 341 | #else /* neither BSD nor UNIPLUS: random sysV */ | 341 | #else /* neither BSD nor UNIPLUS nor LINUX: random sysV */ |
| 342 | #ifdef HAVE_SYSV_SIGPAUSE | 342 | #ifdef HAVE_SYSV_SIGPAUSE |
| 343 | sighold (SIGCHLD); | 343 | sighold (SIGCHLD); |
| 344 | if (0 > kill (pid, 0)) | 344 | if (0 > kill (pid, 0)) |