diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-05-31 01:12:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-05-31 01:12:05 +0000 |
commit | 056956218aa68cd46d99f2255038ad41e8d89d31 (patch) | |
tree | 2bf6ecb0fa72ac662d30233e674528ee444e0fc8 /src/sysdep.c | |
parent | 97562e5ee9f70a51b8e77c1017a76a1712e8829d (diff) | |
download | emacs-056956218aa68cd46d99f2255038ad41e8d89d31.tar.gz |
(wait_for_termination): Delete LINUX conditionals.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r-- | src/sysdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 16227ffb5b3..5ee921df4cb 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -314,7 +314,7 @@ wait_for_termination (pid) status = SYS$FORCEX (&pid, 0, 0); break; #else /* not VMS */ -#if (defined (BSD) && !defined (LINUX)) || (defined (HPUX) && !defined (HPUX_5)) +#if defined (BSD) || (defined (HPUX) && !defined (HPUX_5)) /* Note that kill returns -1 even if the process is just a zombie now. But inevitably a SIGCHLD interrupt should be generated and child_sig will do wait3 and make the process go away. */ @@ -333,12 +333,12 @@ wait_for_termination (pid) sleep (1); else sigpause (SIGEMPTYMASK); -#else /* not BSD, not LINUX, and not HPUX version >= 6 */ -#if defined (UNIPLUS) || defined (LINUX) +#else /* not BSD, and not HPUX version >= 6 */ +#if defined (UNIPLUS) if (0 > kill (pid, 0)) break; wait (0); -#else /* neither BSD nor UNIPLUS nor LINUX: random sysV */ +#else /* neither BSD nor UNIPLUS: random sysV */ #ifdef POSIX_SIGNALS /* would this work for LINUX as well? */ sigblock (sigmask (SIGCHLD)); if (0 > kill (pid, 0)) |