ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bf8a0eead2c50a9ba9d671d41ac2d4f39ef6d195

commit bf8a0eead2c50a9ba9d671d41ac2d4f39ef6d195
Author: Andy Williams <a...@andywilliams.me>
Date:   Mon Jul 17 13:04:30 2017 +0100

    OSX: fix version detection in build
---
 src/lib/ecore_cocoa/ecore_cocoa_private.h | 2 +-
 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;
  * more meaningful ones. We define aliases to these new types to use the
  * most recent API while being retro-compatible.
  */
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1012 /* Before 10.12 */
+#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 /* Before 10.12 */
 # define NSWindowStyleMaskTitled NSTitledWindowMask
 # define NSWindowStyleMaskClosable NSClosableWindowMask
 # 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 @@
  * stdbool.h, which is not wanted: it would introduce new macros,
  * and break compilation of existing programs.
  */
-# if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1012
+# if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
 #  include <os/lock.h>
 #  define SPINLOCK_GET(LCK) ((os_unfair_lock_t)(LCK))
 # else

-- 


Reply via email to