]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport Fred's checkin 2.29:
authorThomas Wouters <thomas@python.org>
Wed, 23 May 2001 11:32:06 +0000 (11:32 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 23 May 2001 11:32:06 +0000 (11:32 +0000)
Correct the sense of a couple of conditional compilations -- used #ifndef
when #ifdef was needed.
This closes (reallu!) SF bug #417418.

Modules/termios.c

index 109faf38aa879a317b2b476a2a02838237f2d9ae..9079351c66d4a2a2bcda0de001be080e61a1f214 100644 (file)
@@ -536,10 +536,10 @@ static struct constant {
        {"VSTOP", VSTOP},
        {"VSUSP", VSUSP},
        {"VEOL", VEOL},
-#ifndef VREPRINT
+#ifdef VREPRINT
        {"VREPRINT", VREPRINT},
 #endif
-#ifndef VDISCARD
+#ifdef VDISCARD
        {"VDISCARD", VDISCARD},
 #endif
        {"VWERASE", VWERASE},