summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-08 09:18:53 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-08 09:18:53 +0000
commit80e420bcf04b24d98193f63f17ffc5973dcd15d2 (patch)
tree1ba42093a276538f3ec94072926e0aac9d5e2516 /src/systty.h
parentf8088b8e114de885452945bdd4b906f098206789 (diff)
downloademacs-80e420bcf04b24d98193f63f17ffc5973dcd15d2.tar.gz
[MSDOS]: don't #include <sgtty.h>. We haven't got it.
Declare dummy main field. Don't ever use TABs.
Diffstat (limited to 'src/systty.h')
-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. */
#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 @@ struct emacs_tty {
#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 */