summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-15 09:25:17 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-15 09:25:17 +0000
commit7f6d476fb912800700f4225f3f968d1fe2e016d5 (patch)
tree050ed1c7a92e8767c5691b885aa0795272e833ed /src/systty.h
parent76766f2d878535868d9fa3e957a9a25849d45c23 (diff)
downloademacs-7f6d476fb912800700f4225f3f968d1fe2e016d5.tar.gz
[BSD_TERMIOS]: Under NL0, NL1..., ECHO, NOFLSH, TOSTOP,
FLUSHO and PENDIN.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/systty.h b/src/systty.h
index 5a166b2fd5d..e264c8c4cd4 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -20,6 +20,30 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_TERMIOS
#define HAVE_TCATTR
#endif
+
+/* If we defined these before and we are about to redefine them,
+ prevent alarming warnings. */
+#ifdef BSD_TERMIOS
+#undef NL0
+#undef NL1
+#undef CR0
+#undef CR1
+#undef CR2
+#undef CR3
+#undef TAB0
+#undef TAB1
+#undef TAB2
+#undef XTABS
+#undef BS0
+#undef BS1
+#undef FF0
+#undef FF1
+#undef ECHO
+#undef NOFLSH
+#undef TOSTOP
+#undef FLUSHO
+#undef PENDIN
+#endif
/* Include the proper files. */
#ifdef HAVE_TERMIO