summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-10-04 17:04:38 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-10-04 17:04:38 +0000
commit607eb7d0ded40e50eb7f61a5807160dd0c088afc (patch)
tree029c91214f00bba695d6cf72ce4bfe69627be218 /legacy
parent383af77fce095b6522e20a9a9d5ff0b6b0226605 (diff)
Ecore_con: update ecore_con_eet headers. Should make it compiling on Windows (not tested)
SVN revision: 77444
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ecore/src/lib/ecore_con/Ecore_Con_Eet.h26
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_eet.c4
2 files changed, 30 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_con/Ecore_Con_Eet.h b/legacy/ecore/src/lib/ecore_con/Ecore_Con_Eet.h
index 04fc8e4..bdf0d2d60 100644
--- a/legacy/ecore/src/lib/ecore_con/Ecore_Con_Eet.h
+++ b/legacy/ecore/src/lib/ecore_con/Ecore_Con_Eet.h
@@ -5,6 +5,32 @@
5#include <Ecore.h> 5#include <Ecore.h>
6#include <Ecore_Con.h> 6#include <Ecore_Con.h>
7 7
8#ifdef EAPI
9# undef EAPI
10#endif
11
12#ifdef _WIN32
13# ifdef EFL_ECORE_CON_BUILD
14# ifdef DLL_EXPORT
15# define EAPI __declspec(dllexport)
16# else
17# define EAPI
18# endif
19# else
20# define EAPI __declspec(dllimport)
21# endif
22#else
23# ifdef __GNUC__
24# if __GNUC__ >= 4
25# define EAPI __attribute__ ((visibility("default")))
26# else
27# define EAPI
28# endif
29# else
30# define EAPI
31# endif
32#endif
33
8typedef struct _Ecore_Con_Eet Ecore_Con_Eet; 34typedef struct _Ecore_Con_Eet Ecore_Con_Eet;
9typedef struct _Ecore_Con_Reply Ecore_Con_Reply; 35typedef struct _Ecore_Con_Reply Ecore_Con_Reply;
10 36
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c b/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
index d9999b8..ece348e 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
@@ -1,3 +1,7 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
1#include <Eina.h> 5#include <Eina.h>
2 6
3#include "Ecore_Con_Eet.h" 7#include "Ecore_Con_Eet.h"