summaryrefslogtreecommitdiff
path: root/src/lib/elua
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/elua
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/elua')
-rw-r--r--src/lib/elua/Elua.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h
index 4c0f9cb3c5..2d13df5c77 100644
--- a/src/lib/elua/Elua.h
+++ b/src/lib/elua/Elua.h
@@ -23,15 +23,15 @@
23#endif 23#endif
24 24
25#ifdef _WIN32 25#ifdef _WIN32
26# ifdef EFL_ELUA_BUILD 26# ifdef EFL_BUILD
27# ifdef DLL_EXPORT 27# ifdef DLL_EXPORT
28# define EAPI __declspec(dllexport) 28# define EAPI __declspec(dllexport)
29# else 29# else
30# define EAPI 30# define EAPI
31# endif /* ! DLL_EXPORT */ 31# endif
32# else 32# else
33# define EAPI __declspec(dllimport) 33# define EAPI __declspec(dllimport)
34# endif /* ! EFL_ELUA_BUILD */ 34# endif
35#else 35#else
36# ifdef __GNUC__ 36# ifdef __GNUC__
37# if __GNUC__ >= 4 37# if __GNUC__ >= 4
@@ -42,7 +42,7 @@
42# else 42# else
43# define EAPI 43# define EAPI
44# endif 44# endif
45#endif /* ! _WIN32 */ 45#endif
46 46
47#ifdef __cplusplus 47#ifdef __cplusplus
48extern "C" { 48extern "C" {