diff options
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa_private.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_private.h b/src/lib/ecore_cocoa/ecore_cocoa_private.h index a97d278e88..d2c67ac40d 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_private.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_private.h | |||
@@ -30,9 +30,10 @@ extern int _ecore_cocoa_log_domain; | |||
30 | 30 | ||
31 | /* | 31 | /* |
32 | * macOS Sierra (10.12) deprecated enumeration types in profit to others, | 32 | * macOS Sierra (10.12) deprecated enumeration types in profit to others, |
33 | * more meaningful ones. | 33 | * more meaningful ones. We define aliases to these new types to use the |
34 | * most recent API while being retro-compatible. | ||
34 | */ | 35 | */ |
35 | #ifndef __MAC_10_12 | 36 | #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1012 /* Before 10.12 */ |
36 | # define NSWindowStyleMaskTitled NSTitledWindowMask | 37 | # define NSWindowStyleMaskTitled NSTitledWindowMask |
37 | # define NSWindowStyleMaskClosable NSClosableWindowMask | 38 | # define NSWindowStyleMaskClosable NSClosableWindowMask |
38 | # define NSWindowStyleMaskResizable NSResizableWindowMask | 39 | # define NSWindowStyleMaskResizable NSResizableWindowMask |