This commit is contained in:
Andrew Murray 2020-05-20 20:31:14 +10:00
parent 7daca6733d
commit ac7848c781

View File

@ -731,9 +731,9 @@ class pil_build_ext(build_ext):
defs.append(("WORDS_BIGENDIAN", None)) defs.append(("WORDS_BIGENDIAN", None))
if ( if (
sys.platform == "win32" and sys.platform == "win32"
sys.version_info < (3, 9) and and sys.version_info < (3, 9)
not (PLATFORM_PYPY or PLATFORM_MINGW) and not (PLATFORM_PYPY or PLATFORM_MINGW)
): ):
defs.append(("PILLOW_VERSION", '"\\"%s\\""' % PILLOW_VERSION)) defs.append(("PILLOW_VERSION", '"\\"%s\\""' % PILLOW_VERSION))
else: else: