Fixed check for Mac OS X 10.11+ SDK (thanks Edward Rudd!)
authorSam Lantinga <slouken@libsdl.org>
Tue, 29 Aug 2017 08:27:23 -0700
changeset 1141426a5f8318ba4
parent 11413 16fe5acdcaa7
child 11415 41bc8b8e9758
Fixed check for Mac OS X 10.11+ SDK (thanks Edward Rudd!)
include/SDL_config_macosx.h
     1.1 --- a/include/SDL_config_macosx.h	Tue Aug 29 02:32:53 2017 -0700
     1.2 +++ b/include/SDL_config_macosx.h	Tue Aug 29 08:27:23 2017 -0700
     1.3 @@ -176,7 +176,7 @@
     1.4  
     1.5  /* Enable Vulkan support */
     1.6  /* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
     1.7 -#if TARGET_CPU_X86_64
     1.8 +#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
     1.9  #define SDL_VIDEO_VULKAN 1
    1.10  #else
    1.11  #define  SDL_VIDEO_VULKAN 0