about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-03-19 12:21:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-03-19 12:21:54 +0000
commit3b14a11d1fbb5e50f58dfe3ea0cf8538073af4dd (patch)
tree96c99cee81394354f4a62cb7c0522b93ebecb925
parentab29ab8b3f271d8fbb2ac861a4644e5a4e29b81a (diff)
downloadzsh-3b14a11d1fbb5e50f58dfe3ea0cf8538073af4dd.tar.gz
zsh-3b14a11d1fbb5e50f58dfe3ea0cf8538073af4dd.tar.xz
zsh-3b14a11d1fbb5e50f58dfe3ea0cf8538073af4dd.zip
23221: Martin Koeppe: don't use XTABS if not defined
-rw-r--r--ChangeLog4
-rw-r--r--Src/zsh.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e3fb4ae3..1750d3651 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-19  Peter Stephenson  <pws@csr.com>
+
+	* 23221: Martin Koeppe: don't used XTABS if not available.
+
 2007-03-15  Peter Stephenson  <pws@csr.com>
 
 	* 23219: Src/options.c: Ismail Dönmez reported that lower
diff --git a/Src/zsh.h b/Src/zsh.h
index dcda38b89..a1bdbb036 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1766,7 +1766,9 @@ struct ttyinfo {
 #  ifdef OXTABS
 #define SGTABTYPE       OXTABS
 #  else
+#   ifdef XTABS
 #define SGTABTYPE       XTABS
+#   endif
 #  endif
 # endif