forked from enlightenment/efl
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.
This commit is contained in:
parent
bd362b13d6
commit
a336e761d2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue