diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 11:47:53 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-21 11:47:53 +0100 |
commit | 925ad18e1a5b6fa7e25a5b2678fad32e73ad3bf0 (patch) | |
tree | 841642eebcddd319a4853a8777300ed861bef041 /thirdparty/libpng/arm/arm_init.c | |
parent | 63f95c0e58e51ec2939e8b47803cb607fb35cadc (diff) |
libpng: Update to upstream 1.6.39
Diffstat (limited to 'thirdparty/libpng/arm/arm_init.c')
-rw-r--r-- | thirdparty/libpng/arm/arm_init.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/thirdparty/libpng/arm/arm_init.c b/thirdparty/libpng/arm/arm_init.c index ab22525b38..84d05556f8 100644 --- a/thirdparty/libpng/arm/arm_init.c +++ b/thirdparty/libpng/arm/arm_init.c @@ -36,7 +36,10 @@ #ifndef PNG_ARM_NEON_FILE # if defined(__aarch64__) || defined(_M_ARM64) /* ARM Neon is expected to be unconditionally available on ARM64. */ -# error "PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on this platform" +# error "PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on ARM64" +# elif defined(__ARM_NEON__) || defined(__ARM_NEON) + /* ARM Neon is expected to be available on the target CPU architecture. */ +# error "PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on this CPU arch" # elif defined(__linux__) # define PNG_ARM_NEON_FILE "contrib/arm-neon/linux.c" # else |