summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 14:24:48 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:10 +0200
commitce5ccfb5bee5174b168f0df49b75df2ab3849454 (patch)
tree9b306bbd87d30a70f20056aa44f9e90a3b593d43 /src/modules/ecore_evas/engines/drm
parent71b7fc982a2e23bcb41bf6d227bceeba1f5596ec (diff)
ecore: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/modules/ecore_evas/engines/drm')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 6ee3659944..01c230b47c 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -21,6 +21,28 @@
21# include <dlfcn.h> 21# include <dlfcn.h>
22#endif 22#endif
23 23
24#ifdef EAPI
25# undef EAPI
26#endif
27
28#ifdef _WIN32
29# ifdef DLL_EXPORT
30# define EAPI __declspec(dllexport)
31# else
32# define EAPI
33# endif /* ! DLL_EXPORT */
34#else
35# ifdef __GNUC__
36# if __GNUC__ >= 4
37# define EAPI __attribute__ ((visibility("default")))
38# else
39# define EAPI
40# endif
41# else
42# define EAPI
43# endif
44#endif /* ! _WIN32 */
45
24typedef struct _Ecore_Evas_Engine_Drm_Data Ecore_Evas_Engine_Drm_Data; 46typedef struct _Ecore_Evas_Engine_Drm_Data Ecore_Evas_Engine_Drm_Data;
25 47
26struct _Ecore_Evas_Engine_Drm_Data 48struct _Ecore_Evas_Engine_Drm_Data