forked from enlightenment/efl
evas: fix problem with dllimport on Windows.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
This commit is contained in:
parent
2070ca4205
commit
2dabd04dc8
|
@ -1,5 +1,21 @@
|
|||
#include <Eo.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EAPI
|
||||
# undef EAPI
|
||||
# endif
|
||||
# ifdef EFL_EVAS_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI
|
||||
# endif /* ! DLL_EXPORT */
|
||||
# else
|
||||
# define EAPI
|
||||
# endif /* ! EFL_EVAS_BUILD */
|
||||
#else
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
EAPI extern const Eo_Event_Description _EVAS_OBJECT_EVENT_MOUSE_IN;
|
||||
EAPI extern const Eo_Event_Description _EVAS_OBJECT_EVENT_MOUSE_OUT;
|
||||
EAPI extern const Eo_Event_Description _EVAS_OBJECT_EVENT_MOUSE_DOWN;
|
||||
|
|
|
@ -1,6 +1,22 @@
|
|||
#include "evas_common_private.h"
|
||||
#include "evas_private.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EAPI
|
||||
# undef EAPI
|
||||
# endif
|
||||
# ifdef EFL_EVAS_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI
|
||||
# endif /* ! DLL_EXPORT */
|
||||
# else
|
||||
# define EAPI
|
||||
# endif /* ! EFL_EVAS_BUILD */
|
||||
#else
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
int _evas_event_counter = 0;
|
||||
|
||||
EVAS_MEMPOOL(_mp_pc);
|
||||
|
|
Loading…
Reference in New Issue