jayji pushed a commit to branch master.

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

commit a336e761d2499e7976250e3a1c9d17a48377d796
Author: Jean Guyomarc'h <j...@guyomarch.bzh>
Date:   Fri Sep 9 08:39:02 2016 +0200

    eo: avoid redefinition of type Efl_Promise
    
    clang complained about type redefinition being a C11 feature, throwing a
    warning for each compiling unit including Eo.h.
---
 src/lib/eo/efl_future.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eo/efl_future.h b/src/lib/eo/efl_future.h
index 78dc273..61ce03d 100644
--- a/src/lib/eo/efl_future.h
+++ b/src/lib/eo/efl_future.h
@@ -11,6 +11,7 @@
  * The type of Efl Promise used in asynchronous operation, the write side of a 
promise.
  */
 typedef Eo Efl_Promise;
+#define _EFL_PROMISE_EO_CLASS_TYPE
 
 #define EFL_FUTURE_CLASS efl_future_class_get()
 EWAPI const Efl_Class *efl_future_class_get(void);

-- 


Reply via email to