#endif
#ifdef _WIN32
+# define EAPI_MAIN
# ifdef ELEMENTARY_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# 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 */
-#ifdef _WIN32
-# define EAPI_MAIN
-#else
-# define EAPI_MAIN EAPI
-#endif
-
/* allow usage from c++ */
#ifdef __cplusplus
extern "C"