From a336e761d2499e7976250e3a1c9d17a48377d796 Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Fri, 9 Sep 2016 08:39:02 +0200 Subject: [PATCH] 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 78dc273edd..61ce03d128 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);