summaryrefslogtreecommitdiff
path: root/src/lib/eldbus
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-18 18:04:03 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-18 18:04:03 +0900
commitf5b01ac5ce3d86c3bcd89c4882a77b1c126ca789 (patch)
treecb39aad3598224652d3117f64328d596678ffdc6 /src/lib/eldbus
parent8a1655a15cb3863165a7dddaa6021953ce9c18ab (diff)
all: Simplify definition of EAPI
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
Diffstat (limited to 'src/lib/eldbus')
-rw-r--r--src/lib/eldbus/Eldbus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eldbus/Eldbus.h b/src/lib/eldbus/Eldbus.h
index db61f21ac2..15f8293062 100644
--- a/src/lib/eldbus/Eldbus.h
+++ b/src/lib/eldbus/Eldbus.h
@@ -87,15 +87,15 @@
87#endif 87#endif
88 88
89#ifdef _WIN32 89#ifdef _WIN32
90# ifdef EFL_ELDBUS_BUILD 90# ifdef EFL_BUILD
91# ifdef DLL_EXPORT 91# ifdef DLL_EXPORT
92# define EAPI __declspec(dllexport) 92# define EAPI __declspec(dllexport)
93# else 93# else
94# define EAPI 94# define EAPI
95# endif /* ! DLL_EXPORT */ 95# endif
96# else 96# else
97# define EAPI __declspec(dllimport) 97# define EAPI __declspec(dllimport)
98# endif /* ! EFL_ELDBUS_BUILD */ 98# endif
99#else 99#else
100# ifdef __GNUC__ 100# ifdef __GNUC__
101# if __GNUC__ >= 4 101# if __GNUC__ >= 4