From 5e035d7a73fd98a2a939e7d8cf579fb1bbcc4af5 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 13 Oct 2015 20:45:33 +0200 Subject: [PATCH] Evil: set EAPI correctly in pwd.h --- src/lib/evil/pwd.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/lib/evil/pwd.h b/src/lib/evil/pwd.h index a5ed996..2663490 100644 --- a/src/lib/evil/pwd.h +++ b/src/lib/evil/pwd.h @@ -18,6 +18,22 @@ #include +#ifdef EAPI +# undef EAPI +#endif /* EAPI */ + +#ifdef _WIN32 +# ifdef EFL_EVIL_BUILD +# ifdef DLL_EXPORT +# define EAPI __declspec(dllexport) +# else +# define EAPI +# endif +# else +# define EAPI __declspec(dllimport) +# endif +#endif + #ifdef __cplusplus extern "C" { @@ -76,6 +92,8 @@ EAPI struct passwd *getpwuid (uid_t uid); } #endif +#undef EAPI +#define EAPI /** -- 2.7.4