summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-06-11 15:21:43 (GMT)
committerThomas Wouters <thomas@python.org>2001-06-11 15:21:43 (GMT)
commitfea07844ac794563b38958b40d1856a76bb18030 (patch)
tree98312f2378c76c1e5c498852655ae0c3542a8405
parenta623ca8f8032d0b8b1312e5eb0d0c799922f5efd (diff)
downloadcpython-fea07844ac794563b38958b40d1856a76bb18030.zip
cpython-fea07844ac794563b38958b40d1856a76bb18030.tar.gz
cpython-fea07844ac794563b38958b40d1856a76bb18030.tar.bz2
Protect the use of the VWERASE symbol by an #ifdef, it's apparently missing
on (some versions of ?) AIX.
-rw-r--r--Modules/termios.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/termios.c b/Modules/termios.c
index 9079351..54d72b2 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -542,7 +542,9 @@ static struct constant {
#ifdef VDISCARD
{"VDISCARD", VDISCARD},
#endif
+#ifdef VWERASE
{"VWERASE", VWERASE},
+#endif
{"VLNEXT", VLNEXT},
{"VEOL2", VEOL2},