changeset 1927:c6dc1a37aeb4

* sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as HAVE_TERMIO.
author Jim Blandy <jimb@redhat.com>
date Mon, 22 Feb 1993 14:50:42 +0000
parents 952f2a18f83d
children 699033d79ee6
files src/sysdep.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Mon Feb 22 14:48:45 1993 +0000
+++ b/src/sysdep.c	Mon Feb 22 14:50:42 1993 +0000
@@ -380,7 +380,7 @@
 
   EMACS_GET_TTY (out, &s);
 
-#ifdef HAVE_TERMIO
+#if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
   s.main.c_oflag |= OPOST;	/* Enable output postprocessing */
   s.main.c_oflag &= ~ONLCR;	/* Disable map of NL to CR-NL on output */
   s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY);
@@ -770,7 +770,7 @@
     {
       tty = old_tty;
 
-#ifdef HAVE_TERMIO
+#if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
       tty.main.c_iflag |= (IGNBRK);	/* Ignore break condition */
       tty.main.c_iflag &= ~ICRNL;	/* Disable map of CR to NL on input */
 #ifdef ISTRIP