summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-05-23 11:32:06 (GMT)
committerThomas Wouters <thomas@python.org>2001-05-23 11:32:06 (GMT)
commit50d9fb227b714c1ee412bf23017d74b2838268cc (patch)
treebbdd6314668f99bad5c02ca7ed0357e4117b2c23
parentcfe4df170c3ec0af1d006960afac621849115225 (diff)
downloadcpython-50d9fb227b714c1ee412bf23017d74b2838268cc.zip
cpython-50d9fb227b714c1ee412bf23017d74b2838268cc.tar.gz
cpython-50d9fb227b714c1ee412bf23017d74b2838268cc.tar.bz2
Backport Fred's checkin 2.29:
Correct the sense of a couple of conditional compilations -- used #ifndef when #ifdef was needed. This closes (reallu!) SF bug #417418.
-rw-r--r--Modules/termios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/termios.c b/Modules/termios.c
index 109faf3..9079351 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -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},