mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00:00
Fixed building on older macOS SDK
This commit is contained in:
@@ -64,6 +64,12 @@
|
||||
|
||||
@end
|
||||
|
||||
@interface NSScreen (SDL)
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < 120000 /* Added in the 12.0 SDK */
|
||||
@property(readonly) NSEdgeInsets safeAreaInsets;
|
||||
#endif
|
||||
@end
|
||||
|
||||
@interface NSWindow (SDL)
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101000 /* Added in the 10.10 SDK */
|
||||
@property(readonly) NSRect contentLayoutRect;
|
||||
|
||||
Reference in New Issue
Block a user