From 9ea917ebaa3135eb798617302c71093f179ab61b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 24 May 1996 20:44:12 +0000 Subject: Only define PyOS_ReadlineInit if WITH_READLINE defined. --- Parser/myreadline.c | 2 ++ 1 file changed, 2 insertions(+) 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 * -- cgit v0.12