summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-07-17 13:04:30 +0100
committerAndy Williams <andy@andywilliams.me>2017-07-17 13:04:30 +0100
commitbf8a0eead2c50a9ba9d671d41ac2d4f39ef6d195 (patch)
treeb7960ff5001962613b05184d1704b9d201e51f34 /src
parentd5bca5b0cbc969eeed4c176300b1a36271760367 (diff)
OSX: fix version detection in build
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_private.h2
-rw-r--r--src/lib/eina/eina_lock.c2
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