summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-24 20:44:12 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-24 20:44:12 (GMT)
commit9ea917ebaa3135eb798617302c71093f179ab61b (patch)
tree7ad1fcada59f86b57fce81fb2575f72b030797f3 /Parser
parent5048de2bc6697fcd9e9e9c81166d9a860c7bef1e (diff)
downloadcpython-9ea917ebaa3135eb798617302c71093f179ab61b.zip
cpython-9ea917ebaa3135eb798617302c71093f179ab61b.tar.gz
cpython-9ea917ebaa3135eb798617302c71093f179ab61b.tar.bz2
Only define PyOS_ReadlineInit if WITH_READLINE defined.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/myreadline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/myreadline.c b/Parser/myreadline.c
index 99ae6ac..d210d8b 100644
--- a/Parser/myreadline.c
+++ b/Parser/myreadline.c
@@ -100,6 +100,7 @@ my_fgets(buf, len, fp)
#endif /* WITH_READLINE */
+#ifdef WITH_READLINE
void
PyOS_ReadlineInit()
{
@@ -111,6 +112,7 @@ PyOS_ReadlineInit()
been_here++;
}
}
+#endif
char *