diff src/dispnew.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 7f07991cc0b2
children 38f2be5a65fd
line wrap: on
line diff
--- a/src/dispnew.c	Tue Dec 11 22:13:11 2001 +0000
+++ b/src/dispnew.c	Tue Dec 11 22:20:20 2001 +0000
@@ -101,7 +101,7 @@
 #endif
 #endif /* not __GNU_LIBRARY__ */
 
-#if defined(HAVE_TERM_H) && defined (LINUX) && defined (HAVE_LIBNCURSES)
+#if defined(HAVE_TERM_H) && defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
 #include <term.h>		/* for tgetent */
 #endif
 
@@ -6397,7 +6397,7 @@
 #else
       Vwindow_system_version = make_number (10);
 #endif
-#if defined (LINUX) && defined (HAVE_LIBNCURSES)
+#if defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
       /* In some versions of ncurses,
 	 tputs crashes if we have not called tgetent.
 	 So call tgetent.  */