summaryrefslogtreecommitdiff
path: root/src/lib/ecore_input
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/ecore_input
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/ecore_input')
-rw-r--r--src/lib/ecore_input/Ecore_Input.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_input/Ecore_Input.h b/src/lib/ecore_input/Ecore_Input.h
index 6853e764b5..0e28909729 100644
--- a/src/lib/ecore_input/Ecore_Input.h
+++ b/src/lib/ecore_input/Ecore_Input.h
@@ -16,15 +16,15 @@
16#endif 16#endif
17 17
18#ifdef _WIN32 18#ifdef _WIN32
19# ifdef EFL_ECORE_INPUT_BUILD 19# ifdef EFL_BUILD
20# ifdef DLL_EXPORT 20# ifdef DLL_EXPORT
21# define EAPI __declspec(dllexport) 21# define EAPI __declspec(dllexport)
22# else 22# else
23# define EAPI 23# define EAPI
24# endif /* ! DLL_EXPORT */ 24# endif
25# else 25# else
26# define EAPI __declspec(dllimport) 26# define EAPI __declspec(dllimport)
27# endif /* ! EFL_ECORE_INPUT_BUILD */ 27# endif
28#else 28#else
29# ifdef __GNUC__ 29# ifdef __GNUC__
30# if __GNUC__ >= 4 30# if __GNUC__ >= 4