We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db31563 + ac7848c commit 23ade03Copy full SHA for 23ade03
1 file changed
setup.py
@@ -730,7 +730,11 @@ def build_extensions(self):
730
if struct.unpack("h", b"\0\1")[0] == 1:
731
defs.append(("WORDS_BIGENDIAN", None))
732
733
- if sys.platform == "win32" and not (PLATFORM_PYPY or PLATFORM_MINGW):
+ if (
734
+ sys.platform == "win32"
735
+ and sys.version_info < (3, 9)
736
+ and not (PLATFORM_PYPY or PLATFORM_MINGW)
737
+ ):
738
defs.append(("PILLOW_VERSION", '"\\"%s\\""' % PILLOW_VERSION))
739
else:
740
defs.append(("PILLOW_VERSION", '"%s"' % PILLOW_VERSION))
0 commit comments