diff --git a/Python/fileutils.c b/Python/fileutils.c index 1b7e6697c74..b3b7925073b 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -246,6 +246,12 @@ encode_ascii(const wchar_t *text, char **str, *str = result; return 0; } +#else +int +_Py_GetForceASCII(void) +{ + return 0; +} #endif /* !defined(__APPLE__) && !defined(__ANDROID__) && !defined(MS_WINDOWS) */