From b698571efe0d1650bbfc813c7467c8ba5be02741 Mon Sep 17 00:00:00 2001 From: Sylvain Becker Date: Tue, 4 Dec 2018 12:34:45 +0100 Subject: android: use __ARM_NEON instead of __ARM_NEON__ to include 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. --- include/SDL_cpuinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 #endif -#if defined(__ARM_NEON__) && !defined(SDL_DISABLE_ARM_NEON_H) +#if defined(__ARM_NEON) && !defined(SDL_DISABLE_ARM_NEON_H) #include #endif #if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H) -- cgit v1.2.3