summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-22 15:44:15 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-22 15:44:15 (GMT)
commitd0b625d05aacd47184b453c9bf46f1792e3d5eae (patch)
tree729796c260f7452b63f9c65869249e7cc7d15519 /Modules
parent6b4593e33887ca1dd2475aee2dd037cee4e33d9f (diff)
downloadcpython-d0b625d05aacd47184b453c9bf46f1792e3d5eae.zip
cpython-d0b625d05aacd47184b453c9bf46f1792e3d5eae.tar.gz
cpython-d0b625d05aacd47184b453c9bf46f1792e3d5eae.tar.bz2
Correct the sense of a couple of conditional compilations -- used #ifndef
when #ifdef was needed. This closes (reallu!) SF bug #417418.
Diffstat (limited to 'Modules')
-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},