summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 20:15:48 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 20:18:52 +0900
commit12fa8caec5fcf0deefd343f28f1522965516d4e6 (patch)
tree9dc760235d79f3e2e45637e43a2c87a064e33f64
parent70f7f88eabf6c22e8cc1ac230a4b0851bda8c7c1 (diff)
evas: Another attempt at fixing OSX build
Build failed with LKI not found, as a symbol, but it's a macro. Copy & pasted from evas_common_private.h How can this work on one platform and not another? I don't get it...
-rw-r--r--src/lib/evas/common/evas_font.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_font.h b/src/lib/evas/common/evas_font.h
index 8d57476953..613cc31de7 100644
--- a/src/lib/evas/common/evas_font.h
+++ b/src/lib/evas/common/evas_font.h
@@ -47,9 +47,12 @@ typedef unsigned long long DATA64;
#include <Eina.h>
#define LK(x) Eina_Lock x
-#define LKU(x) eina_lock_release(&(x))
-#define LKL(x) eina_lock_take(&(x))
+#define LKI(x) eina_lock_new(&(x))
#define LKD(x) eina_lock_free(&(x))
+#define LKL(x) eina_lock_take(&(x))
+#define LKT(x) eina_lock_take_try(&(x))
+#define LKU(x) eina_lock_release(&(x))
+#define LKDBG(x) eina_lock_debug(&(x))
#include "evas_text_utils.h"