From 3f7b28f9c86383251ef21aa1df341043286b7453 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Thu, 18 Jan 2018 18:04:03 +0900 Subject: [PATCH] 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. --- unsorted/efl_mono/example_numberwrapper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unsorted/efl_mono/example_numberwrapper.c b/unsorted/efl_mono/example_numberwrapper.c index 4ec0f72d..27bc3f36 100644 --- a/unsorted/efl_mono/example_numberwrapper.c +++ b/unsorted/efl_mono/example_numberwrapper.c @@ -10,15 +10,15 @@ #define EOAPI EAPI EAPI_WEAK #ifdef _WIN32 -# ifdef EFL_EO_BUILD +# ifdef EFL_BUILD # ifdef DLL_EXPORT # define EAPI __declspec(dllexport) # else # define EAPI -# endif /* ! DLL_EXPORT */ +# endif # else # define EAPI __declspec(dllimport) -# endif /* ! EFL_EO_BUILD */ +# endif #else # ifdef __GNUC__ # if __GNUC__ >= 4 @@ -29,7 +29,7 @@ # else # define EAPI # endif -#endif /* ! _WIN32 */ +#endif #include "example_numberwrapper.eo.h"