summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-17 03:21:36 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-17 03:21:36 +0000
commite514e4564bc5ed2c83765471c1237cffe5f292fe (patch)
tree49873a435990ee6a659f9533549d6cf59ab81724 /src/systty.h
parente88a3d69ca1b3ee719b5d10717342301cb5138ad (diff)
downloademacs-e514e4564bc5ed2c83765471c1237cffe5f292fe.tar.gz
(EMACS_TTY_TABS_OK): Alternate definition if no TABDLY.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systty.h b/src/systty.h
index 14848d9257b..22dc37288b3 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -391,7 +391,11 @@ struct emacs_tty {
#ifdef HAVE_TERMIOS
+#ifdef TABDLY
#define EMACS_TTY_TABS_OK(p) (((p)->main.c_oflag & TABDLY) != TAB3)
+#else
+#define EMACS_TTY_TABS_OK(p) 1
+#endif
#else /* not def HAVE_TERMIOS */
#ifdef HAVE_TERMIO