diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2018-01-18 18:04:03 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2018-01-18 18:04:03 +0900 |
commit | f5b01ac5ce3d86c3bcd89c4882a77b1c126ca789 (patch) | |
tree | cb39aad3598224652d3117f64328d596678ffdc6 /src/lib/ecore_avahi | |
parent | 8a1655a15cb3863165a7dddaa6021953ce9c18ab (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/ecore_avahi')
-rw-r--r-- | src/lib/ecore_avahi/Ecore_Avahi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_avahi/Ecore_Avahi.h b/src/lib/ecore_avahi/Ecore_Avahi.h index 76247dbed7..ed19a12b03 100644 --- a/src/lib/ecore_avahi/Ecore_Avahi.h +++ b/src/lib/ecore_avahi/Ecore_Avahi.h | |||
@@ -12,15 +12,15 @@ | |||
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | #ifdef _WIN32 | 14 | #ifdef _WIN32 |
15 | # ifdef EFL_ECORE_AVAHI_BUILD | 15 | # ifdef EFL_BUILD |
16 | # ifdef DLL_EXPORT | 16 | # ifdef DLL_EXPORT |
17 | # define EAPI __declspec(dllexport) | 17 | # define EAPI __declspec(dllexport) |
18 | # else | 18 | # else |
19 | # define EAPI | 19 | # define EAPI |
20 | # endif /* ! DLL_EXPORT */ | 20 | # endif |
21 | # else | 21 | # else |
22 | # define EAPI __declspec(dllimport) | 22 | # define EAPI __declspec(dllimport) |
23 | # endif /* ! EFL_ECORE_BUILD */ | 23 | # endif |
24 | #else | 24 | #else |
25 | # ifdef __GNUC__ | 25 | # ifdef __GNUC__ |
26 | # if __GNUC__ >= 4 | 26 | # if __GNUC__ >= 4 |
@@ -31,7 +31,7 @@ | |||
31 | # else | 31 | # else |
32 | # define EAPI | 32 | # define EAPI |
33 | # endif | 33 | # endif |
34 | #endif /* ! _WIN32 */ | 34 | #endif |
35 | 35 | ||
36 | #ifdef __cplusplus | 36 | #ifdef __cplusplus |
37 | extern "C" { | 37 | extern "C" { |