aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systty.h10
1 files changed, 10 insertions, 0 deletions
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. */
68#include <fcntl.h> 68#include <fcntl.h>
69#else /* neither HAVE_TERMIO nor HAVE_TERMIOS */ 69#else /* neither HAVE_TERMIO nor HAVE_TERMIOS */
70#ifndef VMS 70#ifndef VMS
71#ifndef MSDOS
71#include <sgtty.h> 72#include <sgtty.h>
73#endif
72#else /* VMS */ 74#else /* VMS */
73#include <descrip.h> 75#include <descrip.h>
74static struct iosb 76static struct iosb
@@ -352,10 +354,14 @@ struct emacs_tty {
352#ifdef VMS 354#ifdef VMS
353 struct sensemode main; 355 struct sensemode main;
354#else 356#else
357#ifdef MSDOS
358 int main;
359#else
355 struct sgttyb main; 360 struct sgttyb main;
356#endif 361#endif
357#endif 362#endif
358#endif 363#endif
364#endif
359 365
360/* If we have TERMIOS, we don't need to do this - they're taken care of 366/* If we have TERMIOS, we don't need to do this - they're taken care of
361 by the tc*attr calls. */ 367 by the tc*attr calls. */
@@ -399,7 +405,11 @@ struct emacs_tty {
399 405
400#else 406#else
401 407
408#ifdef MSDOS
409#define EMACS_TTY_TABS_OK(p) 0
410#else /* not MSDOS */
402#define EMACS_TTY_TABS_OK(p) (((p)->main.sg_flags & XTABS) != XTABS) 411#define EMACS_TTY_TABS_OK(p) (((p)->main.sg_flags & XTABS) != XTABS)
412#endif /* not MSDOS */
403 413
404#endif /* not def VMS */ 414#endif /* not def VMS */
405#endif /* not def HAVE_TERMIO */ 415#endif /* not def HAVE_TERMIO */