Allow compilation on MacOS 10.5 leopard: issues #2923, #2924 and #2925

This commit is contained in:
Alex Samorukov
2019-03-23 23:33:07 +00:00
parent f540f6c0a5
commit 8f3da0e8c4
5 changed files with 32 additions and 25 deletions

View File

@ -35,6 +35,11 @@
#endif
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
@protocol NSWindowDelegate
@end
#endif
@interface NSWindow (GIMPExt)
- (NSRect) convertRectToScreen: (NSRect)aRect;
@end