jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=83f4ee89d0104f9e46f57fa0dcca08cecefa514c

commit 83f4ee89d0104f9e46f57fa0dcca08cecefa514c
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Jul 16 11:39:38 2015 +0900

    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.
---
 src/lib/ector/software/Ector_Software.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/ector/software/Ector_Software.h 
b/src/lib/ector/software/Ector_Software.h
index 7d003cc..ec074be 100644
--- a/src/lib/ector/software/Ector_Software.h
+++ b/src/lib/ector/software/Ector_Software.h
@@ -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"

-- 


Reply via email to