changeset 5026:6a3e9555cee3

[BSD_TERMIOS]: Under NL0, NL1..., ECHO, NOFLSH, TOSTOP, FLUSHO and PENDIN.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Nov 1993 09:25:17 +0000
parents 0556b068e9ee
children 38980ea73075
files src/systty.h
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/systty.h	Mon Nov 15 09:23:34 1993 +0000
+++ b/src/systty.h	Mon Nov 15 09:25:17 1993 +0000
@@ -20,6 +20,30 @@
 #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