diff options
author | Jim Blandy <jimb@redhat.com> | 1993-02-22 14:50:42 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-02-22 14:50:42 +0000 |
commit | 31be8d24679fdbd2aa94db6b19c30664638b391d (patch) | |
tree | 0307194a298cc8f75f0d03e20a479143cd15fec7 /src | |
parent | b37902c85cccb00cc1d97229780cb95eaabcdeed (diff) | |
download | emacs-31be8d24679fdbd2aa94db6b19c30664638b391d.tar.gz |
* sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
HAVE_TERMIO.
Diffstat (limited to 'src')
-rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 60145e93de9..489a9e571d1 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -380,7 +380,7 @@ child_setup_tty (out) 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 @@ init_sys_modes () { 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 |