projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef59dc7
)
Evil: set EAPI correctly in pwd.h
author
Vincent Torri
<vincent dot torri at gmail dot com>
Tue, 13 Oct 2015 18:45:33 +0000
(20:45 +0200)
committer
Tom Hacohen
<tom@stosb.com>
Wed, 14 Oct 2015 08:43:34 +0000
(09:43 +0100)
src/lib/evil/pwd.h
patch
|
blob
|
history
diff --git
a/src/lib/evil/pwd.h
b/src/lib/evil/pwd.h
index
a5ed996
..
2663490
100644
(file)
--- 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
/**