mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Only define PyOS_ReadlineInit if WITH_READLINE defined.
This commit is contained in:
parent
5048de2bc6
commit
9ea917ebaa
1 changed files with 2 additions and 0 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue