changeset 5499:da0a6ed995bd

[MSDOS]: don't #include <sgtty.h>. We haven't got it. Declare dummy main field. Don't ever use TABs.
author Richard M. Stallman <rms@gnu.org>
date Sat, 08 Jan 1994 09:18:53 +0000
parents 636e4507b52b
children 6f6637309b38
files src/systty.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/systty.h	Sat Jan 08 09:18:29 1994 +0000
+++ b/src/systty.h	Sat Jan 08 09:18:53 1994 +0000
@@ -68,7 +68,9 @@
 #include <fcntl.h>
 #else /* neither HAVE_TERMIO nor HAVE_TERMIOS */
 #ifndef VMS
+#ifndef MSDOS
 #include <sgtty.h>
+#endif
 #else /* VMS */
 #include <descrip.h>
 static struct iosb
@@ -352,10 +354,14 @@
 #ifdef VMS
   struct sensemode main;
 #else
+#ifdef MSDOS
+  int main;
+#else
   struct sgttyb main;
 #endif
 #endif
 #endif
+#endif
 
 /* If we have TERMIOS, we don't need to do this - they're taken care of
    by the tc*attr calls.  */
@@ -399,7 +405,11 @@
 
 #else
 
+#ifdef MSDOS
+#define EMACS_TTY_TABS_OK(p) 0
+#else /* not MSDOS */
 #define EMACS_TTY_TABS_OK(p) (((p)->main.sg_flags & XTABS) != XTABS)
+#endif /* not MSDOS */
 
 #endif /* not def VMS */
 #endif /* not def HAVE_TERMIO */