edje: remove the need to order the header correctly for Windows.

This commit is contained in:
Cedric BAIL 2015-04-28 15:09:11 +02:00
parent ce5ccfb5be
commit 59fb53c4cc
2 changed files with 31 additions and 0 deletions

View File

@ -261,4 +261,7 @@ extern "C" {
}
#endif
#undef EAPI
#define EAPI
#endif

View File

@ -58,6 +58,31 @@
#endif
#include "Edje.h"
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_EDJE_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif /* ! DLL_EXPORT */
# else
# define EAPI __declspec(dllimport)
# endif /* ! EFL_EDJE_BUILD */
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
# else
# define EAPI
# endif
#endif
EAPI extern int _edje_default_log_dom ;
@ -2800,4 +2825,7 @@ typedef Eina_Bool (*MULTISENSE_FACTORY_INIT_FUNC) (Edje_Multisense_Env *);
typedef RemixBase* (*MULTISENSE_SOUND_PLAYER_GET_FUNC) (Edje_Multisense_Env *);
#endif
#undef EAPI
#define EAPI
#endif