aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c4
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)
380 380
381 EMACS_GET_TTY (out, &s); 381 EMACS_GET_TTY (out, &s);
382 382
383#ifdef HAVE_TERMIO 383#if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
384 s.main.c_oflag |= OPOST; /* Enable output postprocessing */ 384 s.main.c_oflag |= OPOST; /* Enable output postprocessing */
385 s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */ 385 s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */
386 s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); 386 s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY);
@@ -770,7 +770,7 @@ init_sys_modes ()
770 { 770 {
771 tty = old_tty; 771 tty = old_tty;
772 772
773#ifdef HAVE_TERMIO 773#if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
774 tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */ 774 tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */
775 tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ 775 tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */
776#ifdef ISTRIP 776#ifdef ISTRIP