ecore: move EAPI_MAIN from elementary to ecore.
This commit is contained in:
parent
95b0d7ca68
commit
e5d84da864
|
@ -13,6 +13,23 @@
|
|||
#undef __EFL_NET
|
||||
#undef EFL_MAIN
|
||||
#undef EFL_MAIN_EX
|
||||
#undef EAPI_MAIN
|
||||
|
||||
#ifdef _WIN32
|
||||
// There is no support for quicklaunch on windows, so no needs
|
||||
// to export the efl_main symbol
|
||||
# define EAPI_MAIN
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI_MAIN __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define EAPI_MAIN
|
||||
# endif
|
||||
# else
|
||||
# define EAPI_MAIN
|
||||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
#ifdef EFL_VERSION_MICRO
|
||||
# define _EFL_VERSION_MICRO EFL_VERSION_MICRO
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# define EAPI_MAIN
|
||||
# ifdef ELEMENTARY_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
|
@ -99,14 +98,11 @@
|
|||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# define EAPI_MAIN __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_MAIN
|
||||
# endif
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_MAIN
|
||||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue