forked from enlightenment/efl
Ector: Fix potential build errors with double typedef
Depending on the compiler and its version, having twice a typedef on the same name may lead to a build failure. Thanks @mythri for the report.
This commit is contained in:
parent
216f738acf
commit
83f4ee89d0
|
@ -3,7 +3,13 @@
|
|||
|
||||
#include <Ector.h>
|
||||
|
||||
#ifndef _ECTOR_SOFTWARE_SURFACE_EO_CLASS_TYPE
|
||||
#define _ECTOR_SOFTWARE_SURFACE_EO_CLASS_TYPE
|
||||
|
||||
typedef Eo Ector_Software_Surface;
|
||||
|
||||
#endif
|
||||
|
||||
typedef struct _Software_Rasterizer Software_Rasterizer;
|
||||
|
||||
#include "software/ector_software_surface.eo.h"
|
||||
|
|
Loading…
Reference in New Issue