Enforce the minimum version of macOS to be 10.12

- clock_gettime_nsec_np is not defined until 10.12
This commit is contained in:
Christmas-Missionary
2026-05-02 14:56:12 +00:00
committed by Ryan C. Gordon
parent 225001b53b
commit 2536a22012

View File

@@ -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__) */