From f5b01ac5ce3d86c3bcd89c4882a77b1c126ca789 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Thu, 18 Jan 2018 18:04:03 +0900 Subject: 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. --- src/lib/ecore_imf/Ecore_IMF.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/ecore_imf/Ecore_IMF.h') diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h index c4ff9ec955..9cdc11b28d 100644 --- a/src/lib/ecore_imf/Ecore_IMF.h +++ b/src/lib/ecore_imf/Ecore_IMF.h @@ -8,15 +8,15 @@ #endif #ifdef _WIN32 -# ifdef EFL_ECORE_IMF_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_ECORE_IMF_BUILD */ +# endif #else # ifdef __GNUC__ # if __GNUC__ >= 4 @@ -27,7 +27,7 @@ # else # define EAPI # endif -#endif /* ! _WIN32 */ +#endif #ifdef __cplusplus extern "C" { -- cgit v1.2.1