Commit b1b93df8a65ec34a489893a037d2b5a1a0d58e8f

Sam Lantinga 2021-03-15T09:00:42

Merge commit '8ba735c208388159477bf0ccb06a8573a273fb02' into main

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/SDL_cpuinfo.h b/include/SDL_cpuinfo.h
index c51f713..d3984be 100644
--- a/include/SDL_cpuinfo.h
+++ b/include/SDL_cpuinfo.h
@@ -57,6 +57,9 @@
 #endif /* __clang__ */
 #elif defined(__MINGW64_VERSION_MAJOR)
 #include <intrin.h>
+#if !defined(SDL_DISABLE_ARM_NEON_H) && defined(__ARM_NEON)
+#  include <arm_neon.h>
+#endif
 #else
 /* altivec.h redefining bool causes a number of problems, see bugs 3993 and 4392, so you need to explicitly define SDL_ENABLE_ALTIVEC_H to have it included. */
 #if defined(HAVE_ALTIVEC_H) && defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) && defined(SDL_ENABLE_ALTIVEC_H)