diff options
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa_private.h | 2 | ||||
-rw-r--r-- | src/lib/eina/eina_lock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_private.h b/src/lib/ecore_cocoa/ecore_cocoa_private.h index d2c67ac40d..ab1ac7ed61 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_private.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_private.h | |||
@@ -33,7 +33,7 @@ extern int _ecore_cocoa_log_domain; | |||
33 | * more meaningful ones. We define aliases to these new types to use the | 33 | * more meaningful ones. We define aliases to these new types to use the |
34 | * most recent API while being retro-compatible. | 34 | * most recent API while being retro-compatible. |
35 | */ | 35 | */ |
36 | #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1012 /* Before 10.12 */ | 36 | #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 /* Before 10.12 */ |
37 | # define NSWindowStyleMaskTitled NSTitledWindowMask | 37 | # define NSWindowStyleMaskTitled NSTitledWindowMask |
38 | # define NSWindowStyleMaskClosable NSClosableWindowMask | 38 | # define NSWindowStyleMaskClosable NSClosableWindowMask |
39 | # define NSWindowStyleMaskResizable NSResizableWindowMask | 39 | # define NSWindowStyleMaskResizable NSResizableWindowMask |
diff --git a/src/lib/eina/eina_lock.c b/src/lib/eina/eina_lock.c index e8872a65a1..3423852a8d 100644 --- a/src/lib/eina/eina_lock.c +++ b/src/lib/eina/eina_lock.c | |||
@@ -17,7 +17,7 @@ | |||
17 | * stdbool.h, which is not wanted: it would introduce new macros, | 17 | * stdbool.h, which is not wanted: it would introduce new macros, |
18 | * and break compilation of existing programs. | 18 | * and break compilation of existing programs. |
19 | */ | 19 | */ |
20 | # if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1012 | 20 | # if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200 |
21 | # include <os/lock.h> | 21 | # include <os/lock.h> |
22 | # define SPINLOCK_GET(LCK) ((os_unfair_lock_t)(LCK)) | 22 | # define SPINLOCK_GET(LCK) ((os_unfair_lock_t)(LCK)) |
23 | # else | 23 | # else |