mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 09:44:35 +00:00 
			
		
		
		
	Fixed building on older macOS SDK
This commit is contained in:
		@@ -64,6 +64,12 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
@end
 | 
					@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)
 | 
					@interface NSWindow (SDL)
 | 
				
			||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101000 /* Added in the 10.10 SDK */
 | 
					#if MAC_OS_X_VERSION_MAX_ALLOWED < 101000 /* Added in the 10.10 SDK */
 | 
				
			||||||
@property(readonly) NSRect contentLayoutRect;
 | 
					@property(readonly) NSRect contentLayoutRect;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user