]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Protect the use of the VWERASE symbol by an #ifdef, it's apparently missing
authorThomas Wouters <thomas@python.org>
Mon, 11 Jun 2001 15:21:43 +0000 (15:21 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 11 Jun 2001 15:21:43 +0000 (15:21 +0000)
on (some versions of ?) AIX.

Modules/termios.c

index 9079351c66d4a2a2bcda0de001be080e61a1f214..54d72b2fb62a36f56368242acbe8b32aab432166 100644 (file)
@@ -542,7 +542,9 @@ static struct constant {
 #ifdef VDISCARD
        {"VDISCARD", VDISCARD},
 #endif
+#ifdef VWERASE
        {"VWERASE", VWERASE},
+#endif
        {"VLNEXT", VLNEXT},
        {"VEOL2", VEOL2},