diff options
author | Gabor Kertesz <gabor.kertesz@linaro.org> | 2021-10-25 12:03:42 +0200 |
---|---|---|
committer | Cosmin Truta <ctruta@gmail.com> | 2022-09-13 01:23:52 +0300 |
commit | a1a81cc2acfd4f06c04197518c0195e3bdc7f5b2 (patch) | |
tree | 87336b9044f51b3cb97e646f988f6f5652e7ebb6 | |
parent | c3a1d8424c16c35f377861b968765d4db154e859 (diff) | |
download | libpng-a1a81cc2acfd4f06c04197518c0195e3bdc7f5b2.tar.gz |
Fix arm neon config for win-arm64 with MSVC
Fixes #398
It adds win-arm64 as an arm64 platform, by using a define which
is set to 1 for compilations that target 64-bit ARM processors,
otherwise undefined.
-rw-r--r-- | pngpriv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,7 +174,7 @@ # else /* !defined __ARM_NEON__ */ /* The 'intrinsics' code simply won't compile without this -mfpu=neon: */ -# if !defined(__aarch64__) +# if !defined(__aarch64__) && !defined(_M_ARM64) /* The assembler code currently does not work on ARM64 */ # define PNG_ARM_NEON_IMPLEMENTATION 2 # endif /* __aarch64__ */ |