aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorRichard M. Stallman2001-12-11 22:20:20 +0000
committerRichard M. Stallman2001-12-11 22:20:20 +0000
commit8a2a6032daa218702d62b8d1e12240bda4bfb302 (patch)
tree2448a3b540110767589fd9963d56b9e666be1d34 /src/sysdep.c
parent8db5530aa05f20f511a0cf2373fd838004be80be (diff)
downloademacs-8a2a6032daa218702d62b8d1e12240bda4bfb302.tar.gz
emacs-8a2a6032daa218702d62b8d1e12240bda4bfb302.zip
Test GNU_LINUX, not LINUX.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 28de7dba019..6d0528cb2db 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -245,7 +245,7 @@ static int baud_convert[] =
245#else 245#else
246#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) 246#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T)
247#else 247#else
248#if defined (HAVE_TERMIOS_H) && defined (LINUX) 248#if defined (HAVE_TERMIOS_H) && defined (GNU_LINUX)
249#include <termios.h> 249#include <termios.h>
250#endif 250#endif
251#endif 251#endif
@@ -476,7 +476,7 @@ wait_for_termination (pid)
476 break; 476 break;
477 wait (0); 477 wait (0);
478#else /* neither BSD_SYSTEM nor UNIPLUS: random sysV */ 478#else /* neither BSD_SYSTEM nor UNIPLUS: random sysV */
479#ifdef POSIX_SIGNALS /* would this work for LINUX as well? */ 479#ifdef POSIX_SIGNALS /* would this work for GNU/Linux as well? */
480 sigblock (sigmask (SIGCHLD)); 480 sigblock (sigmask (SIGCHLD));
481 errno = 0; 481 errno = 0;
482 if (kill (pid, 0) == -1 && errno == ESRCH) 482 if (kill (pid, 0) == -1 && errno == ESRCH)