summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/sdl
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/sdl
parent71b7fc982a2e23bcb41bf6d227bceeba1f5596ec (diff)
ecore: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/modules/ecore_evas/engines/sdl')
-rw-r--r--src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c b/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
index 9a0e69b712..0c14c8957c 100644
--- a/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
+++ b/src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
@@ -19,6 +19,28 @@
19 19
20#include <Ecore_Evas.h> 20#include <Ecore_Evas.h>
21#include "ecore_evas_private.h" 21#include "ecore_evas_private.h"
22
23#ifdef EAPI
24# undef EAPI
25#endif
26
27#ifdef _WIN32
28# ifdef DLL_EXPORT
29# define EAPI __declspec(dllexport)
30# else
31# define EAPI
32# endif /* ! DLL_EXPORT */
33#else
34# ifdef __GNUC__
35# if __GNUC__ >= 4
36# define EAPI __attribute__ ((visibility("default")))
37# else
38# define EAPI
39# endif
40# else
41# define EAPI
42# endif
43#endif /* ! _WIN32 */
22/* 44/*
23 * SDL only handle one window at a time. That's by definition, there is nothing wrong here. 45 * SDL only handle one window at a time. That's by definition, there is nothing wrong here.
24 * 46 *