ecore_evas_cocoa: EAPI cannot be set for WIN32

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Jean Guyomarc'h 2015-10-13 16:07:38 +02:00 committed by Cedric BAIL
parent cb334b3e37
commit dccec92ecb
1 changed files with 6 additions and 14 deletions

View File

@ -18,23 +18,15 @@
# undef EAPI
#endif
#ifdef _WIN32
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif /* ! DLL_EXPORT */
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
#ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
#endif /* ! _WIN32 */
#else
# define EAPI
#endif
static int _ecore_evas_init_count = 0;
// FIXME: In case we have a lot of windows per app, we should probably use another container