From 4df5089231afba870937dd902a1f3c53becc0dbb Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Thu, 17 Mar 2016 09:30:49 +0100 Subject: Remove WIN32 defines from sources Signed-off-by: Olliver Schinagl --- configure.ac | 2 +- src/lib/engagement.h | 24 ++++++------------------ 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/configure.ac b/configure.ac index 8d46d00..1876d8f 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ AM_PROG_AR # this will speed up libtool checks LT_PREREQ([2.2]) -LT_INIT([win32-dll pic-only]) +LT_INIT([pic-only]) EFL_INIT AC_PROG_CC diff --git a/src/lib/engagement.h b/src/lib/engagement.h index 2692d0c..af6b19e 100644 --- a/src/lib/engagement.h +++ b/src/lib/engagement.h @@ -14,27 +14,15 @@ # undef EAPI #endif -#ifdef _WIN32 -# ifdef EFL_ENGAGEMENT_BUILD -# ifdef DLL_EXPORT -# define EAPI __declspec(dllexport) -# else -# define EAPI -# endif /* ! DLL_EXPORT */ -# else -# define EAPI __declspec(dllimport) -# endif /* ! EFL_ENGAGEMENT_BUILD */ -#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 #ifdef __cplusplus extern "C" { -- cgit v0.12