summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas.h
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/evas/Evas.h
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/evas/Evas.h')
-rw-r--r--src/lib/evas/Evas.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h
index 81df72cba2..ad3f16fe4a 100644
--- a/src/lib/evas/Evas.h
+++ b/src/lib/evas/Evas.h
@@ -180,15 +180,15 @@
180#endif 180#endif
181 181
182#ifdef _WIN32 182#ifdef _WIN32
183# ifdef EFL_EVAS_BUILD 183# ifdef EFL_BUILD
184# ifdef DLL_EXPORT 184# ifdef DLL_EXPORT
185# define EAPI __declspec(dllexport) 185# define EAPI __declspec(dllexport)
186# else 186# else
187# define EAPI 187# define EAPI
188# endif /* ! DLL_EXPORT */ 188# endif
189# else 189# else
190# define EAPI __declspec(dllimport) 190# define EAPI __declspec(dllimport)
191# endif /* ! EFL_EVAS_BUILD */ 191# endif
192#else 192#else
193# ifdef __GNUC__ 193# ifdef __GNUC__
194# if __GNUC__ >= 4 194# if __GNUC__ >= 4
@@ -199,7 +199,7 @@
199# else 199# else
200# define EAPI 200# define EAPI
201# endif 201# endif
202#endif /* ! _WIN32 */ 202#endif
203 203
204#ifdef __cplusplus 204#ifdef __cplusplus
205extern "C" { 205extern "C" {