summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_internal.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/ecore/ecore_internal.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/ecore/ecore_internal.h')
-rw-r--r--src/lib/ecore/ecore_internal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore/ecore_internal.h b/src/lib/ecore/ecore_internal.h
index 3b60063728..f3380cc35f 100644
--- a/src/lib/ecore/ecore_internal.h
+++ b/src/lib/ecore/ecore_internal.h
@@ -7,15 +7,15 @@
7#endif 7#endif
8 8
9#ifdef _WIN32 9#ifdef _WIN32
10# ifdef EFL_ECORE_BUILD 10# ifdef EFL_BUILD
11# ifdef DLL_EXPORT 11# ifdef DLL_EXPORT
12# define EAPI __declspec(dllexport) 12# define EAPI __declspec(dllexport)
13# else 13# else
14# define EAPI 14# define EAPI
15# endif /* ! DLL_EXPORT */ 15# endif
16# else 16# else
17# define EAPI __declspec(dllimport) 17# define EAPI __declspec(dllimport)
18# endif /* ! EFL_ECORE_BUILD */ 18# endif
19#else 19#else
20# ifdef __GNUC__ 20# ifdef __GNUC__
21# if __GNUC__ >= 4 21# if __GNUC__ >= 4
@@ -26,7 +26,7 @@
26# else 26# else
27# define EAPI 27# define EAPI
28# endif 28# endif
29#endif /* ! _WIN32 */ 29#endif
30 30
31EAPI void ecore_loop_arguments_send(int argc, const char **argv); 31EAPI void ecore_loop_arguments_send(int argc, const char **argv);
32 32