summaryrefslogtreecommitdiff
path: root/thirdparty/libpng/pngrtran.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/libpng/pngrtran.c')
-rw-r--r--thirdparty/libpng/pngrtran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libpng/pngrtran.c b/thirdparty/libpng/pngrtran.c
index 9a8fad9f4a..238f5afe7e 100644
--- a/thirdparty/libpng/pngrtran.c
+++ b/thirdparty/libpng/pngrtran.c
@@ -21,7 +21,7 @@
#ifdef PNG_ARM_NEON_IMPLEMENTATION
# if PNG_ARM_NEON_IMPLEMENTATION == 1
# define PNG_ARM_NEON_INTRINSICS_AVAILABLE
-# if defined(_MSC_VER) && defined(_M_ARM64)
+# if defined(_MSC_VER) && !defined(__clang__) && defined(_M_ARM64)
# include <arm64_neon.h>
# else
# include <arm_neon.h>