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/ephysics | |
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/ephysics')
-rw-r--r-- | src/lib/ephysics/EPhysics.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ephysics/EPhysics.h b/src/lib/ephysics/EPhysics.h index f1c34244d3..2311975aab 100644 --- a/src/lib/ephysics/EPhysics.h +++ b/src/lib/ephysics/EPhysics.h | |||
@@ -72,15 +72,15 @@ | |||
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #ifdef _WIN32 | 74 | #ifdef _WIN32 |
75 | # ifdef EFL_EPHYSICS_BUILD | 75 | # ifdef EFL_BUILD |
76 | # ifdef DLL_EXPORT | 76 | # ifdef DLL_EXPORT |
77 | # define EAPI __declspec(dllexport) | 77 | # define EAPI __declspec(dllexport) |
78 | # else | 78 | # else |
79 | # define EAPI | 79 | # define EAPI |
80 | # endif /* ! DLL_EXPORT */ | 80 | # endif |
81 | # else | 81 | # else |
82 | # define EAPI __declspec(dllimport) | 82 | # define EAPI __declspec(dllimport) |
83 | # endif /* ! EFL_EPHYSICS_BUILD */ | 83 | # endif |
84 | #else | 84 | #else |
85 | # ifdef __GNUC__ | 85 | # ifdef __GNUC__ |
86 | # if __GNUC__ >= 4 | 86 | # if __GNUC__ >= 4 |
@@ -91,7 +91,7 @@ | |||
91 | # else | 91 | # else |
92 | # define EAPI | 92 | # define EAPI |
93 | # endif | 93 | # endif |
94 | #endif /* ! _WIN32 */ | 94 | #endif |
95 | 95 | ||
96 | #ifdef __cplusplus | 96 | #ifdef __cplusplus |
97 | extern "C" { | 97 | extern "C" { |