Kaydet (Commit) 9ea917eb authored tarafından Guido van Rossum's avatar Guido van Rossum

Only define PyOS_ReadlineInit if WITH_READLINE defined.

üst 5048de2b
...@@ -100,6 +100,7 @@ my_fgets(buf, len, fp) ...@@ -100,6 +100,7 @@ my_fgets(buf, len, fp)
#endif /* WITH_READLINE */ #endif /* WITH_READLINE */
#ifdef WITH_READLINE
void void
PyOS_ReadlineInit() PyOS_ReadlineInit()
{ {
...@@ -111,6 +112,7 @@ PyOS_ReadlineInit() ...@@ -111,6 +112,7 @@ PyOS_ReadlineInit()
been_here++; been_here++;
} }
} }
#endif
char * char *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment