summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2016-03-17 08:30:49 (GMT)
committerOlliver Schinagl <oliver@schinagl.nl>2016-03-18 20:42:52 (GMT)
commit4df5089231afba870937dd902a1f3c53becc0dbb (patch)
treec926ccdf5c955fcebe8b279f2177183ff38a44ed /src
parentfc992cd1e4b83fa307755adffa0e9058ee37b086 (diff)
downloadengagement-4df5089231afba870937dd902a1f3c53becc0dbb.zip
engagement-4df5089231afba870937dd902a1f3c53becc0dbb.tar.gz
engagement-4df5089231afba870937dd902a1f3c53becc0dbb.tar.bz2
Remove WIN32 defines from sources
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'src')
-rw-r--r--src/lib/engagement.h24
1 files changed, 6 insertions, 18 deletions
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" {