From aad60dec77c69deeaafbd7275a31a4da2e75eba5 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 4 Jul 2026 00:47:55 +0300 Subject: [PATCH] SDL_intrin.h: fix error from old gcc. --- include/SDL3/SDL_intrin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/SDL3/SDL_intrin.h b/include/SDL3/SDL_intrin.h index 5be3be8316..e93a6ca90b 100644 --- a/include/SDL3/SDL_intrin.h +++ b/include/SDL3/SDL_intrin.h @@ -298,11 +298,13 @@ _m_prefetch(void *__P) # elif defined(SDL_PLATFORM_APPLE) /* Apple has no AArch64 device supporting SVE2 */ # elif defined(__ARM_ARCH) && (__ARM_ARCH >= 8) && (defined(__aarch64__) || defined(_M_ARM64)) && \ - defined(__has_include) && __has_include() + defined(__has_include) +# if __has_include() # define SDL_SVE2_INTRINSICS 1 # if defined(__ARM_FEATURE_SVE) # include # endif +# endif # endif #endif #endif /* compiler version */