forked from enlightenment/efl
* evas: Fix header to build with suncc. Patch from Vincent Torri.
SVN revision: 45185
This commit is contained in:
parent
7d6a8417e9
commit
3cbf825501
|
@ -324,7 +324,7 @@ static void prefix##_smart_set(api_type *api) \
|
||||||
if (!prefix##_parent_init) \
|
if (!prefix##_parent_init) \
|
||||||
{ \
|
{ \
|
||||||
memset(&prefix##_parent_sc, 0, sizeof(parent_type)); \
|
memset(&prefix##_parent_sc, 0, sizeof(parent_type)); \
|
||||||
((Evas_Smart_Class)prefix##_parent_sc).version = EVAS_SMART_CLASS_VERSION; \
|
((Evas_Smart_Class*)&prefix##_parent_sc)->version = EVAS_SMART_CLASS_VERSION; \
|
||||||
parent_func(&prefix##_parent_sc); \
|
parent_func(&prefix##_parent_sc); \
|
||||||
prefix##_parent_init = 1; \
|
prefix##_parent_init = 1; \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue