diff options
author | Sylvain Becker <sylvain.becker@gmail.com> | 2018-12-04 12:34:45 +0100 |
---|---|---|
committer | Sylvain Becker <sylvain.becker@gmail.com> | 2018-12-04 12:34:45 +0100 |
commit | b698571efe0d1650bbfc813c7467c8ba5be02741 (patch) | |
tree | f45fb422103701c8e661f01a7899de9b5dd8d998 /include | |
parent | e4d152081d8fe87411892c4d3d41c19f701fdee2 (diff) |
android: use __ARM_NEON instead of __ARM_NEON__ to include <arm_neon.h>
Only __ARM_NEON is defined with Android NDK and arm64-v8a
Tested on ndk-r18, ndk-r13 and also Xcode.
(Visual Studio needs a different fix).
Fixes Bugzilla #4409.
Diffstat (limited to 'include')
-rw-r--r-- | include/SDL_cpuinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_cpuinfo.h b/include/SDL_cpuinfo.h index ac8263a1bd..bbd66db7d4 100644 --- a/include/SDL_cpuinfo.h +++ b/include/SDL_cpuinfo.h @@ -54,7 +54,7 @@ #if defined(HAVE_ALTIVEC_H) && defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) && defined(SDL_ENABLE_ALTIVEC_H) #include <altivec.h> #endif -#if defined(__ARM_NEON__) && !defined(SDL_DISABLE_ARM_NEON_H) +#if defined(__ARM_NEON) && !defined(SDL_DISABLE_ARM_NEON_H) #include <arm_neon.h> #endif #if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H) |