summaryrefslogtreecommitdiff
path: root/src/lib/emotion/Emotion.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/emotion/Emotion.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/emotion/Emotion.h')
-rw-r--r--src/lib/emotion/Emotion.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/emotion/Emotion.h b/src/lib/emotion/Emotion.h
index 6bd323453e..d7eef3c090 100644
--- a/src/lib/emotion/Emotion.h
+++ b/src/lib/emotion/Emotion.h
@@ -99,15 +99,15 @@
99#endif 99#endif
100 100
101#ifdef _WIN32 101#ifdef _WIN32
102# ifdef EFL_EMOTION_BUILD 102# ifdef EFL_BUILD
103# ifdef DLL_EXPORT 103# ifdef DLL_EXPORT
104# define EAPI __declspec(dllexport) 104# define EAPI __declspec(dllexport)
105# else 105# else
106# define EAPI 106# define EAPI
107# endif /* ! DLL_EXPORT */ 107# endif
108# else 108# else
109# define EAPI __declspec(dllimport) 109# define EAPI __declspec(dllimport)
110# endif /* ! EFL_EMOTION_BUILD */ 110# endif
111#else 111#else
112# ifdef __GNUC__ 112# ifdef __GNUC__
113# if __GNUC__ >= 4 113# if __GNUC__ >= 4
@@ -118,7 +118,7 @@
118# else 118# else
119# define EAPI 119# define EAPI
120# endif 120# endif
121#endif /* ! _WIN32 */ 121#endif
122 122
123#ifdef __cplusplus 123#ifdef __cplusplus
124extern "C" { 124extern "C" {