summaryrefslogtreecommitdiff
path: root/src/lib/efreet/Efreet.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/efreet/Efreet.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/efreet/Efreet.h')
-rw-r--r--src/lib/efreet/Efreet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/efreet/Efreet.h b/src/lib/efreet/Efreet.h
index e83784d..921ae52 100644
--- a/src/lib/efreet/Efreet.h
+++ b/src/lib/efreet/Efreet.h
@@ -79,15 +79,15 @@
79#endif 79#endif
80 80
81#ifdef _WIN32 81#ifdef _WIN32
82# ifdef EFL_EFREET_BUILD 82# ifdef EFL_BUILD
83# ifdef DLL_EXPORT 83# ifdef DLL_EXPORT
84# define EAPI __declspec(dllexport) 84# define EAPI __declspec(dllexport)
85# else 85# else
86# define EAPI 86# define EAPI
87# endif /* ! DLL_EXPORT */ 87# endif
88# else 88# else
89# define EAPI __declspec(dllimport) 89# define EAPI __declspec(dllimport)
90# endif /* ! EFL_EFREET_BUILD */ 90# endif
91#else 91#else
92# ifdef __GNUC__ 92# ifdef __GNUC__
93# if __GNUC__ >= 4 93# if __GNUC__ >= 4