summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_general.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-11-14 13:50:13 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-11-14 13:50:13 -0800
commite5d84da864214b9f772808040f22e1614889a25f (patch)
tree6187ad64c7662e6867c1cfb0db0a68893e8b3a20 /src/lib/ecore/efl_general.h
parent95b0d7ca68c0b5c95cacb9e7cea7c80cf7520823 (diff)
ecore: move EAPI_MAIN from elementary to ecore.
Diffstat (limited to 'src/lib/ecore/efl_general.h')
-rw-r--r--src/lib/ecore/efl_general.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/ecore/efl_general.h b/src/lib/ecore/efl_general.h
index c91f61fce2..3a79e46d33 100644
--- a/src/lib/ecore/efl_general.h
+++ b/src/lib/ecore/efl_general.h
@@ -13,6 +13,23 @@
13#undef __EFL_NET 13#undef __EFL_NET
14#undef EFL_MAIN 14#undef EFL_MAIN
15#undef EFL_MAIN_EX 15#undef EFL_MAIN_EX
16#undef EAPI_MAIN
17
18#ifdef _WIN32
19// There is no support for quicklaunch on windows, so no needs
20// to export the efl_main symbol
21# define EAPI_MAIN
22#else
23# ifdef __GNUC__
24# if __GNUC__ >= 4
25# define EAPI_MAIN __attribute__ ((visibility("default")))
26# else
27# define EAPI_MAIN
28# endif
29# else
30# define EAPI_MAIN
31# endif
32#endif /* ! _WIN32 */
16 33
17#ifdef EFL_VERSION_MICRO 34#ifdef EFL_VERSION_MICRO
18# define _EFL_VERSION_MICRO EFL_VERSION_MICRO 35# define _EFL_VERSION_MICRO EFL_VERSION_MICRO