include/SDL_config_macosx.h
changeset 11414 26a5f8318ba4
parent 11413 16fe5acdcaa7
child 11457 3db9f2a42870
     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