]> git.eshelyaron.com Git - emacs.git/commitdiff
Test HAVE_TERMIOS rather than the automatically-generated HAVE_TERMIOS_H,
authorKarl Heuer <kwzh@gnu.org>
Tue, 16 Jul 1996 09:03:24 +0000 (09:03 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 16 Jul 1996 09:03:24 +0000 (09:03 +0000)
in case <termios.h> is present but unusable.

src/cm.h
src/sysdep.c
src/terminfo.c

index f5c8157f5e7c3b5170444f5da2b1a748750154c2..0b23bc9eb361df84d799a73a78ba219432ba0b74 100644 (file)
--- a/src/cm.h
+++ b/src/cm.h
@@ -100,7 +100,7 @@ struct cm
 
 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
index cf6850c20d19fa12ad9700e0f3f6806f289538ec..189fe583edd5874b49e06a0451f1a4e3839994a2 100644 (file)
@@ -220,7 +220,7 @@ static int baud_convert[] =
   };
 #endif
 
-#ifdef HAVE_TERMIOS_H
+#ifdef HAVE_TERMIOS
 # include <termios.h>
   extern speed_t ospeed;
 #else
index eef648b21578b20b56c3746f8e31606ba1ab3473..5f2d5e009550914b6540b64f3f3d153610fc9527 100644 (file)
@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 char *UP, *BC, PC;
-#ifdef HAVE_TERMIOS_H
+#ifdef HAVE_TERMIOS
 # include <termios.h>
   speed_t ospeed;
 #else