mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-02-25 13:10:30 +00:00
Fixed building on older macOS SDK
This commit is contained in:
parent
d6554a9505
commit
e387314a67
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user