diff --git a/Parser/myreadline.c b/Parser/myreadline.c index d7a6566e554..59db41ab169 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -40,7 +40,10 @@ static int my_fgets(char *buf, int len, FILE *fp) { char *p; +#ifdef MS_WINDOWS int i; +#endif + while (1) { if (PyOS_InputHook != NULL) (void)(PyOS_InputHook)();