]> git.eshelyaron.com Git - emacs.git/commitdiff
[MSDOS]: don't #include <sgtty.h>. We haven't got it.
authorRichard M. Stallman <rms@gnu.org>
Sat, 8 Jan 1994 09:18:53 +0000 (09:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 8 Jan 1994 09:18:53 +0000 (09:18 +0000)
Declare dummy main field.  Don't ever use TABs.

src/systty.h

index b92b0249b66a209312d5fdcb3999d6f77ca2a963..14848d9257b1204160dd32f50d6a683447df6c4c 100644 (file)
@@ -68,7 +68,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #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
@@ -351,11 +353,15 @@ struct emacs_tty {
 #else
 #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 @@ struct emacs_tty {
 
 #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 */