# HG changeset patch # User Jim Blandy # Date 730392642 0 # Node ID c6dc1a37aeb4db771413921bd507621b752a5765 # Parent 952f2a18f83d95f170da89717ad2cb04d7ff0891 * sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as HAVE_TERMIO. diff -r 952f2a18f83d -r c6dc1a37aeb4 src/sysdep.c --- 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