ソースを参照

Enforce the minimum version of macOS to be 10.12

- clock_gettime_nsec_np is not defined until 10.12
Christmas-Missionary 1 ヶ月 前
コミット
2536a22012
1 ファイル変更3 行追加3 行削除
  1. 3 3
      include/SDL3/SDL_platform_defines.h

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