summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/win32
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/win32
parent71b7fc982a2e23bcb41bf6d227bceeba1f5596ec (diff)
ecore: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/modules/ecore_evas/engines/win32')
-rw-r--r--src/modules/ecore_evas/engines/win32/ecore_evas_win32.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
index 6af18036b1..72fbab40bd 100644
--- a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
+++ b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
@@ -27,6 +27,28 @@
27# include <Evas_Engine_Software_DDraw.h> 27# include <Evas_Engine_Software_DDraw.h>
28#endif 28#endif
29 29
30#ifdef EAPI
31# undef EAPI
32#endif
33
34#ifdef _WIN32
35# ifdef DLL_EXPORT
36# define EAPI __declspec(dllexport)
37# else
38# define EAPI
39# endif /* ! DLL_EXPORT */
40#else
41# ifdef __GNUC__
42# if __GNUC__ >= 4
43# define EAPI __attribute__ ((visibility("default")))
44# else
45# define EAPI
46# endif
47# else
48# define EAPI
49# endif
50#endif /* ! _WIN32 */
51
30#ifdef BUILD_ECORE_EVAS_WIN32 52#ifdef BUILD_ECORE_EVAS_WIN32
31 53
32#define ECORE_EVAS_EVENT_COUNT 10 54#define ECORE_EVAS_EVENT_COUNT 10