Edje: Fix compilation warnings with clang
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 09:07:17 +0000 (18:07 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 09:07:34 +0000 (18:07 +0900)
Fixes T2343.

Thanks for the report.

src/lib/edje/Edje_Common.h

index 7d2dab8..4060a87 100644 (file)
@@ -16,8 +16,13 @@ typedef struct _Edje_Version
 
 EAPI extern Edje_Version *edje_version;
 
+#ifndef _EDJE_OBJECT_EO_CLASS_TYPE
+#define _EDJE_OBJECT_EO_CLASS_TYPE
+
 typedef Eo Edje_Object;
 
+#endif
+
 /**
  * @typedef Edje_Color_Class
  * Type for edje color class