forked from enlightenment/efl
eo: fix guard to avoid redefinition of Efl_Object
Clang raised the warning: redefinition of typedef 'Efl_Object' is a C11 feature [-Wtypedef-redefinition] for every compiling unit including Eo.h, which caused a huge console pollution during compilation.
This commit is contained in:
parent
c197edc23f
commit
e249d79229
|
@ -120,7 +120,7 @@ typedef Eo Efl_Class;
|
||||||
#define _EFL_CLASS_EO_CLASS_TYPE
|
#define _EFL_CLASS_EO_CLASS_TYPE
|
||||||
|
|
||||||
typedef Eo Efl_Object;
|
typedef Eo Efl_Object;
|
||||||
#define _EFL_BASE_EO_CLASS_TYPE
|
#define _EFL_OBJECT_EO_CLASS_TYPE
|
||||||
|
|
||||||
#ifdef EFL_BETA_API_SUPPORT
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue