summaryrefslogtreecommitdiff
path: root/src/lib/evil
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:43:34 +0100
commit5e035d7a73fd98a2a939e7d8cf579fb1bbcc4af5 (patch)
treefb87218f2aa1bed31c337e4c1fede07b83186fff /src/lib/evil
parentef59dc702c3cf4dec2d811e23621a3caac2f8d61 (diff)
Evil: set EAPI correctly in pwd.h
Diffstat (limited to 'src/lib/evil')
-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/**