Only define PyOS_ReadlineInit if WITH_READLINE defined.

This commit is contained in:
Guido van Rossum 1996-05-24 20:44:12 +00:00
parent 5048de2bc6
commit 9ea917ebaa

View file

@ -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 *