Fix arm64/Windows build.

This commit is contained in:
bruvzg
2024-04-30 13:50:04 +03:00
parent 64520fe674
commit 986d297ed3
2 changed files with 4 additions and 3 deletions

View File

@ -39,7 +39,7 @@ if env["builtin_libpng"]:
if env["arch"].startswith("arm"):
if env.msvc: # Can't compile assembly files with MSVC.
env_thirdparty.Append(CPPDEFINES=[("PNG_ARM_NEON_OPT"), 0])
env_thirdparty.Append(CPPDEFINES=[("PNG_ARM_NEON_OPT", 0)])
else:
env_neon = env_thirdparty.Clone()
if "S_compiler" in env: