diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index 938d1c9d6..528bee998 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -208,7 +208,7 @@ #endif /* Metal only supported on 64-bit architectures with 10.11+ */ -#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100) +#if TARGET_RT_64_BIT && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100) #define SDL_PLATFORM_SUPPORTS_METAL 1 #else #define SDL_PLATFORM_SUPPORTS_METAL 0