Mercurial > emacs
comparison src/sysdep.c @ 41969:e669966d496e
Test GNU_LINUX, not LINUX.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 11 Dec 2001 22:20:20 +0000 |
parents | 1886c6a31a52 |
children | 64341c22fb4c |
comparison
equal
deleted
inserted
replaced
41968:464d0a0dcf2e | 41969:e669966d496e |
---|---|
243 #ifdef HAVE_SPEED_T | 243 #ifdef HAVE_SPEED_T |
244 #include <termios.h> | 244 #include <termios.h> |
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 |
252 #endif | 252 #endif |
253 | 253 |
474 #if defined (UNIPLUS) | 474 #if defined (UNIPLUS) |
475 if (0 > kill (pid, 0)) | 475 if (0 > kill (pid, 0)) |
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) |
483 { | 483 { |
484 sigunblock (sigmask (SIGCHLD)); | 484 sigunblock (sigmask (SIGCHLD)); |