summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-10-13 20:45:33 +0200
committerTom Hacohen <tom@stosb.com>2015-10-14 09:46:56 +0100
commitd06cef9f1798dbf09a31a936a02d3cb873fa8764 (patch)
tree269b39599a9e1ae1bd7bbca81b0786ba7e14f181
parent053a8d698e21d2ec43f10c421177afabda70e2b1 (diff)
Evil: set EAPI correctly in pwd.h
-rw-r--r--src/lib/evil/pwd.h18
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 @@
18 18
19#include <Evil.h> 19#include <Evil.h>
20 20
21#ifdef EAPI
22# undef EAPI
23#endif /* EAPI */
24
25#ifdef _WIN32
26# ifdef EFL_EVIL_BUILD
27# ifdef DLL_EXPORT
28# define EAPI __declspec(dllexport)
29# else
30# define EAPI
31# endif
32# else
33# define EAPI __declspec(dllimport)
34# endif
35#endif
36
21 37
22#ifdef __cplusplus 38#ifdef __cplusplus
23extern "C" { 39extern "C" {
@@ -76,6 +92,8 @@ EAPI struct passwd *getpwuid (uid_t uid);
76} 92}
77#endif 93#endif
78 94
95#undef EAPI
96#define EAPI
79 97
80 98
81/** 99/**