diff options
author | Vincent Torri <vincent dot torri at gmail dot com> | 2015-10-13 20:45:33 +0200 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2015-10-14 09:43:34 +0100 |
commit | 5e035d7a73fd98a2a939e7d8cf579fb1bbcc4af5 (patch) | |
tree | fb87218f2aa1bed31c337e4c1fede07b83186fff | |
parent | ef59dc702c3cf4dec2d811e23621a3caac2f8d61 (diff) | |
download | efl-5e035d7a73fd98a2a939e7d8cf579fb1bbcc4af5.tar.gz |
Evil: set EAPI correctly in pwd.h
-rw-r--r-- | src/lib/evil/pwd.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/evil/pwd.h b/src/lib/evil/pwd.h index a5ed996b2b..266349052c 100644 --- a/src/lib/evil/pwd.h +++ b/src/lib/evil/pwd.h @@ -18,6 +18,22 @@ #include <Evil.h> +#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 /** |