summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/Ector_Software.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-07-16 11:39:38 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-07-16 18:22:55 +0900
commit83f4ee89d0104f9e46f57fa0dcca08cecefa514c (patch)
tree81b74e1b0cab8d99180c022cb758387bbd3f27a5 /src/lib/ector/software/Ector_Software.h
parent216f738acfa8b0b328096f0328166fded9a17183 (diff)
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.
Diffstat (limited to 'src/lib/ector/software/Ector_Software.h')
-rw-r--r--src/lib/ector/software/Ector_Software.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ector/software/Ector_Software.h b/src/lib/ector/software/Ector_Software.h
index 7d003cc3ff..ec074be2fc 100644
--- a/src/lib/ector/software/Ector_Software.h
+++ b/src/lib/ector/software/Ector_Software.h
@@ -3,7 +3,13 @@
3 3
4#include <Ector.h> 4#include <Ector.h>
5 5
6#ifndef _ECTOR_SOFTWARE_SURFACE_EO_CLASS_TYPE
7#define _ECTOR_SOFTWARE_SURFACE_EO_CLASS_TYPE
8
6typedef Eo Ector_Software_Surface; 9typedef Eo Ector_Software_Surface;
10
11#endif
12
7typedef struct _Software_Rasterizer Software_Rasterizer; 13typedef struct _Software_Rasterizer Software_Rasterizer;
8 14
9#include "software/ector_software_surface.eo.h" 15#include "software/ector_software_surface.eo.h"