From 8e99c732db1100b3f2c83a5341efd202af4b7075 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 8 Jan 1994 09:18:53 +0000 Subject: [PATCH] [MSDOS]: don't #include . We haven't got it. Declare dummy main field. Don't ever use TABs. --- src/systty.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/systty.h b/src/systty.h index b92b0249b66..14848d9257b 100644 --- a/src/systty.h +++ b/src/systty.h @@ -68,7 +68,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #else /* neither HAVE_TERMIO nor HAVE_TERMIOS */ #ifndef VMS +#ifndef MSDOS #include +#endif #else /* VMS */ #include 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 */ -- 2.39.5