summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-13 16:07:38 +0200
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-10 08:32:49 +0100
commit3dc7677c914e11bea24a041f651c560c3a788538 (patch)
tree2f3ae8dd244ec627e677adfd4fed7c196d2a35c1
parent7ab47f961416e57ca22e65e924ab0cd847d4e013 (diff)
ecore_evas_cocoa: EAPI cannot be set for WIN32
-rw-r--r--src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
index dca70af8e1..c3610e168c 100644
--- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
+++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c
@@ -18,23 +18,15 @@
18# undef EAPI 18# undef EAPI
19#endif 19#endif
20 20
21#ifdef _WIN32 21#ifdef __GNUC__
22# ifdef DLL_EXPORT 22# if __GNUC__ >= 4
23# define EAPI __declspec(dllexport) 23# define EAPI __attribute__ ((visibility("default")))
24# else
25# define EAPI
26# endif /* ! DLL_EXPORT */
27#else
28# ifdef __GNUC__
29# if __GNUC__ >= 4
30# define EAPI __attribute__ ((visibility("default")))
31# else
32# define EAPI
33# endif
34# else 24# else
35# define EAPI 25# define EAPI
36# endif 26# endif
37#endif /* ! _WIN32 */ 27#else
28# define EAPI
29#endif
38 30
39static int _ecore_evas_init_count = 0; 31static int _ecore_evas_init_count = 0;
40// FIXME: In case we have a lot of windows per app, we should probably use another container 32// FIXME: In case we have a lot of windows per app, we should probably use another container