aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parent8db5530aa05f20f511a0cf2373fd838004be80be (diff)
downloademacs-8a2a6032daa218702d62b8d1e12240bda4bfb302.tar.gz
emacs-8a2a6032daa218702d62b8d1e12240bda4bfb302.zip
Test GNU_LINUX, not LINUX.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in2
-rw-r--r--src/dispnew.c4
-rw-r--r--src/emacs.c2
-rw-r--r--src/fileio.c2
-rw-r--r--src/mem-limits.h2
-rw-r--r--src/process.c2
-rw-r--r--src/sysdep.c4
7 files changed, 9 insertions, 9 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 04655d4f266..1687c58eeb6 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -109,7 +109,7 @@ CC = C_COMPILER
109/* GNU libc requires ORDINARY_LINK so that its own crt0 is used. 109/* GNU libc requires ORDINARY_LINK so that its own crt0 is used.
110 Linux is an exception because it uses a funny variant of GNU libc. */ 110 Linux is an exception because it uses a funny variant of GNU libc. */
111#ifdef __GNU_LIBRARY__ 111#ifdef __GNU_LIBRARY__
112#ifndef LINUX 112#ifndef GNU_LINUX
113#define ORDINARY_LINK 113#define ORDINARY_LINK
114#endif 114#endif
115#endif 115#endif
diff --git a/src/dispnew.c b/src/dispnew.c
index da6bcc33b1e..c5ce42ef381 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -101,7 +101,7 @@ Boston, MA 02111-1307, USA. */
101#endif 101#endif
102#endif /* not __GNU_LIBRARY__ */ 102#endif /* not __GNU_LIBRARY__ */
103 103
104#if defined(HAVE_TERM_H) && defined (LINUX) && defined (HAVE_LIBNCURSES) 104#if defined(HAVE_TERM_H) && defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
105#include <term.h> /* for tgetent */ 105#include <term.h> /* for tgetent */
106#endif 106#endif
107 107
@@ -6397,7 +6397,7 @@ init_display ()
6397#else 6397#else
6398 Vwindow_system_version = make_number (10); 6398 Vwindow_system_version = make_number (10);
6399#endif 6399#endif
6400#if defined (LINUX) && defined (HAVE_LIBNCURSES) 6400#if defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
6401 /* In some versions of ncurses, 6401 /* In some versions of ncurses,
6402 tputs crashes if we have not called tgetent. 6402 tputs crashes if we have not called tgetent.
6403 So call tgetent. */ 6403 So call tgetent. */
diff --git a/src/emacs.c b/src/emacs.c
index 2262194d1af..bf7f9a5f977 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -593,7 +593,7 @@ void __do_global_ctors_aux ()
593void __do_global_dtors () 593void __do_global_dtors ()
594{} 594{}
595/* Linux has a bug in its library; avoid an error. */ 595/* Linux has a bug in its library; avoid an error. */
596#ifndef LINUX 596#ifndef GNU_LINUX
597char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; 597char * __CTOR_LIST__[2] = { (char *) (-1), 0 };
598#endif 598#endif
599char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; 599char * __DTOR_LIST__[2] = { (char *) (-1), 0 };
diff --git a/src/fileio.c b/src/fileio.c
index 407109ddc87..69a7ec82d88 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
23 23
24#include <config.h> 24#include <config.h>
25 25
26#if defined (USG5) || defined (BSD_SYSTEM) || defined (LINUX) 26#if defined (USG5) || defined (BSD_SYSTEM) || defined (GNU_LINUX)
27#include <fcntl.h> 27#include <fcntl.h>
28#endif 28#endif
29 29
diff --git a/src/mem-limits.h b/src/mem-limits.h
index dae4cf7fd45..1028d7ff5ad 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -118,7 +118,7 @@ get_lim_data ()
118 lim_data = -1; 118 lim_data = -1;
119 119
120 /* Use the ulimit call, if we seem to have it. */ 120 /* Use the ulimit call, if we seem to have it. */
121#if !defined (ULIMIT_BREAK_VALUE) || defined (LINUX) 121#if !defined (ULIMIT_BREAK_VALUE) || defined (GNU_LINUX)
122 lim_data = ulimit (3, 0); 122 lim_data = ulimit (3, 0);
123#endif 123#endif
124 124
diff --git a/src/process.c b/src/process.c
index 5d579149f2c..e9f7c59936c 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4276,7 +4276,7 @@ sigchld_handler (signo)
4276 Otherwise (on systems that have WNOHANG), loop around 4276 Otherwise (on systems that have WNOHANG), loop around
4277 to use up all the processes that have something to tell us. */ 4277 to use up all the processes that have something to tell us. */
4278#if (defined WINDOWSNT \ 4278#if (defined WINDOWSNT \
4279 || (defined USG && !defined LINUX \ 4279 || (defined USG && !defined GNU_LINUX \
4280 && !(defined HPUX && defined WNOHANG))) 4280 && !(defined HPUX && defined WNOHANG)))
4281#if defined (USG) && ! defined (POSIX_SIGNALS) 4281#if defined (USG) && ! defined (POSIX_SIGNALS)
4282 signal (signo, sigchld_handler); 4282 signal (signo, sigchld_handler);
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)