mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 18:02:54 +00:00
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:
committed by
Ryan C. Gordon
parent
225001b53b
commit
2536a22012
@@ -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__) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user