summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-06-11 15:25:16 (GMT)
committerThomas Wouters <thomas@python.org>2001-06-11 15:25:16 (GMT)
commit819bb2c5029b8b25cf856eb48da49d98cc580785 (patch)
tree2d68b504293c7f594f3a1ac52cbfa464dcc9f141
parent046f4d810d5ed2eee4de373026aed9ca69a7df79 (diff)
downloadcpython-819bb2c5029b8b25cf856eb48da49d98cc580785.zip
cpython-819bb2c5029b8b25cf856eb48da49d98cc580785.tar.gz
cpython-819bb2c5029b8b25cf856eb48da49d98cc580785.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},