about summary refs log tree commit diff
path: root/acconfig.h
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2002-05-06 14:50:10 +0000
committerBart Schaefer <barts@users.sourceforge.net>2002-05-06 14:50:10 +0000
commitd3454531d454c322493faa24195b102ac7522988 (patch)
tree62e497248e7acc4d6041969181d2234b8bfdb6bd /acconfig.h
parentcefd2de2e181eb4844ccec575322e410e75a1afd (diff)
downloadzsh-d3454531d454c322493faa24195b102ac7522988.tar.gz
zsh-d3454531d454c322493faa24195b102ac7522988.tar.xz
zsh-d3454531d454c322493faa24195b102ac7522988.zip
Detect variant tgetent() return value and test for it correctly.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 1026f2b7b..80663a65b 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -187,6 +187,9 @@
 /* Define to 1 if tgetent() accepts NULL as a buffer */
 #undef TGETENT_ACCEPTS_NULL
 
+/* Define to what tgetent() returns on success (0 on HP-UX X/Open curses) */
+#define TGETENT_SUCCESS 1
+
 /* Define to 1 if you use POSIX style signal handling */
 #undef POSIX_SIGNALS