diff options
-rw-r--r-- | Parser/myreadline.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Parser/myreadline.c b/Parser/myreadline.c index f0b51f8..93edd7f 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -36,8 +36,11 @@ static int my_fgets(char *buf, int len, FILE *fp) { char *p; - int i; int err; +#ifdef MS_WINDOWS + int i; +#endif + while (1) { if (PyOS_InputHook != NULL) (void)(PyOS_InputHook)(); |