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_input_evas/Ecore_Input_Evas.h | |
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 '')
-rw-r--r-- | src/lib/ecore_input_evas/Ecore_Input_Evas.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_input_evas/Ecore_Input_Evas.h b/src/lib/ecore_input_evas/Ecore_Input_Evas.h index e126e45805..1ec065613f 100644 --- a/src/lib/ecore_input_evas/Ecore_Input_Evas.h +++ b/src/lib/ecore_input_evas/Ecore_Input_Evas.h | |||
@@ -8,15 +8,15 @@ | |||
8 | #endif | 8 | #endif |
9 | 9 | ||
10 | #ifdef _WIN32 | 10 | #ifdef _WIN32 |
11 | # ifdef EFL_ECORE_INPUT_EVAS_BUILD | 11 | # ifdef EFL_BUILD |
12 | # ifdef DLL_EXPORT | 12 | # ifdef DLL_EXPORT |
13 | # define EAPI __declspec(dllexport) | 13 | # define EAPI __declspec(dllexport) |
14 | # else | 14 | # else |
15 | # define EAPI | 15 | # define EAPI |
16 | # endif /* ! DLL_EXPORT */ | 16 | # endif |
17 | # else | 17 | # else |
18 | # define EAPI __declspec(dllimport) | 18 | # define EAPI __declspec(dllimport) |
19 | # endif /* ! EFL_ECORE_INPUT_EVAS_BUILD */ | 19 | # endif |
20 | #else | 20 | #else |
21 | # ifdef __GNUC__ | 21 | # ifdef __GNUC__ |
22 | # if __GNUC__ >= 4 | 22 | # if __GNUC__ >= 4 |