From 2536a2201228e3fffcdfc661c0ddfc0f90b4e0da Mon Sep 17 00:00:00 2001 From: Christmas-Missionary <156368675+Christmas-Missionary@users.noreply.github.com> Date: Sat, 2 May 2026 14:56:12 +0000 Subject: [PATCH] Enforce the minimum version of macOS to be 10.12 - clock_gettime_nsec_np is not defined until 10.12 --- include/SDL3/SDL_platform_defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_platform_defines.h b/include/SDL3/SDL_platform_defines.h index 71dbd53fec..4d13740073 100644 --- a/include/SDL3/SDL_platform_defines.h +++ b/include/SDL3/SDL_platform_defines.h @@ -221,9 +221,9 @@ */ #define SDL_PLATFORM_MACOS 1 -#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070 - #error SDL for macOS only supports deploying on 10.7 and above. -#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1070 */ +#if MAC_OS_X_VERSION_MIN_REQUIRED < 101200 + #error SDL for macOS only supports deploying on 10.12 and above. +#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 101200 */ #endif /* TARGET_OS_IPHONE */ #endif /* defined(__APPLE__) */