diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2016-03-17 08:30:49 (GMT) |
---|---|---|
committer | Olliver Schinagl <oliver@schinagl.nl> | 2016-03-18 20:42:52 (GMT) |
commit | 4df5089231afba870937dd902a1f3c53becc0dbb (patch) | |
tree | c926ccdf5c955fcebe8b279f2177183ff38a44ed | |
parent | fc992cd1e4b83fa307755adffa0e9058ee37b086 (diff) | |
download | engagement-4df5089231afba870937dd902a1f3c53becc0dbb.zip engagement-4df5089231afba870937dd902a1f3c53becc0dbb.tar.gz engagement-4df5089231afba870937dd902a1f3c53becc0dbb.tar.bz2 |
Remove WIN32 defines from sources
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | 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" { |