changeset 15714:58e638890a20

Test HAVE_TERMIOS rather than the automatically-generated HAVE_TERMIOS_H, in case <termios.h> is present but unusable.
author Karl Heuer <kwzh@gnu.org>
date Tue, 16 Jul 1996 09:03:24 +0000
parents 27487191083d
children 7955341c2d19
files src/cm.h src/sysdep.c src/terminfo.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/cm.h	Tue Jul 16 06:19:43 1996 +0000
+++ b/src/cm.h	Tue Jul 16 09:03:24 1996 +0000
@@ -100,7 +100,7 @@
 
 extern struct cm Wcm;		/* Terminal capabilities */
 extern char PC;			/* Pad character */
-#ifdef HAVE_TERMIOS_H
+#ifdef HAVE_TERMIOS
 # include <termios.h>
 extern speed_t ospeed;
 #else
--- a/src/sysdep.c	Tue Jul 16 06:19:43 1996 +0000
+++ b/src/sysdep.c	Tue Jul 16 09:03:24 1996 +0000
@@ -220,7 +220,7 @@
   };
 #endif
 
-#ifdef HAVE_TERMIOS_H
+#ifdef HAVE_TERMIOS
 # include <termios.h>
   extern speed_t ospeed;
 #else
--- a/src/terminfo.c	Tue Jul 16 06:19:43 1996 +0000
+++ b/src/terminfo.c	Tue Jul 16 09:03:24 1996 +0000
@@ -29,7 +29,7 @@
 #endif
 
 char *UP, *BC, PC;
-#ifdef HAVE_TERMIOS_H
+#ifdef HAVE_TERMIOS
 # include <termios.h>
   speed_t ospeed;
 #else