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 */