forked from enlightenment/efl
fix compilation with c++ compilers (needed for Windows too)
patch by Lars Munch SVN revision: 40103
This commit is contained in:
parent
994190d144
commit
1893ae93be
|
@ -85,7 +85,7 @@ MAGIC_CHECK_FAILED(o, t, m)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NEW_RECT(_r, _x, _y, _w, _h) \
|
#define NEW_RECT(_r, _x, _y, _w, _h) \
|
||||||
{(_r) = eina_mempool_alloc(_evas_rectangle_mp, sizeof(Evas_Rectangle)); \
|
{(_r) = (Evas_Rectangle *)eina_mempool_alloc(_evas_rectangle_mp, sizeof(Evas_Rectangle)); \
|
||||||
if (_r) \
|
if (_r) \
|
||||||
{ \
|
{ \
|
||||||
(_r)->x = (_x); (_r)->y = (_y); \
|
(_r)->x = (_x); (_r)->y = (_y); \
|
||||||
|
|
Loading…
Reference in New Issue