diff options
author | Guido van Rossum <guido@python.org> | 1996-05-24 20:44:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-24 20:44:12 (GMT) |
commit | 9ea917ebaa3135eb798617302c71093f179ab61b (patch) | |
tree | 7ad1fcada59f86b57fce81fb2575f72b030797f3 /Parser/myreadline.c | |
parent | 5048de2bc6697fcd9e9e9c81166d9a860c7bef1e (diff) | |
download | cpython-9ea917ebaa3135eb798617302c71093f179ab61b.zip cpython-9ea917ebaa3135eb798617302c71093f179ab61b.tar.gz cpython-9ea917ebaa3135eb798617302c71093f179ab61b.tar.bz2 |
Only define PyOS_ReadlineInit if WITH_READLINE defined.
Diffstat (limited to 'Parser/myreadline.c')
-rw-r--r-- | Parser/myreadline.c | 2 |
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 * |