From abf8fc4c01f88372bc3ddad2aac828c886a467ad Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 29 Aug 2017 08:27:23 -0700 Subject: [PATCH] Fixed check for Mac OS X 10.11+ SDK (thanks Edward Rudd!) --- include/SDL_config_macosx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index 476ef4a3bed8c..9b09899529925 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -176,7 +176,7 @@ /* Enable Vulkan support */ /* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */ -#if TARGET_CPU_X86_64 +#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100) #define SDL_VIDEO_VULKAN 1 #else #define SDL_VIDEO_VULKAN 0