tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5e035d7a73fd98a2a939e7d8cf579fb1bbcc4af5

commit 5e035d7a73fd98a2a939e7d8cf579fb1bbcc4af5
Author: Vincent Torri <vincent dot torri at gmail dot com>
Date:   Tue Oct 13 20:45:33 2015 +0200

    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 <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
 
 
 /**

-- 


Reply via email to