summaryrefslogtreecommitdiff
path: root/src/examples/efl_mono
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/examples/efl_mono
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/examples/efl_mono')
-rw-r--r--src/examples/efl_mono/example_numberwrapper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/efl_mono/example_numberwrapper.c b/src/examples/efl_mono/example_numberwrapper.c
index 4ec0f72..27bc3f3 100644
--- a/src/examples/efl_mono/example_numberwrapper.c
+++ b/src/examples/efl_mono/example_numberwrapper.c
@@ -10,15 +10,15 @@
10#define EOAPI EAPI EAPI_WEAK 10#define EOAPI EAPI EAPI_WEAK
11 11
12#ifdef _WIN32 12#ifdef _WIN32
13# ifdef EFL_EO_BUILD 13# ifdef EFL_BUILD
14# ifdef DLL_EXPORT 14# ifdef DLL_EXPORT
15# define EAPI __declspec(dllexport) 15# define EAPI __declspec(dllexport)
16# else 16# else
17# define EAPI 17# define EAPI
18# endif /* ! DLL_EXPORT */ 18# endif
19# else 19# else
20# define EAPI __declspec(dllimport) 20# define EAPI __declspec(dllimport)
21# endif /* ! EFL_EO_BUILD */ 21# endif
22#else 22#else
23# ifdef __GNUC__ 23# ifdef __GNUC__
24# if __GNUC__ >= 4 24# if __GNUC__ >= 4
@@ -29,7 +29,7 @@
29# else 29# else
30# define EAPI 30# define EAPI
31# endif 31# endif
32#endif /* ! _WIN32 */ 32#endif
33 33
34#include "example_numberwrapper.eo.h" 34#include "example_numberwrapper.eo.h"
35 35