summaryrefslogtreecommitdiff
path: root/src/lib/evil/sys/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evil/sys/mman.h')
-rw-r--r--src/lib/evil/sys/mman.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/lib/evil/sys/mman.h b/src/lib/evil/sys/mman.h
index 93b6bd4..15f176a 100644
--- a/src/lib/evil/sys/mman.h
+++ b/src/lib/evil/sys/mman.h
@@ -3,7 +3,19 @@
3 3
4#include <sys/types.h> 4#include <sys/types.h>
5 5
6#include <evil_macro.h> 6#ifdef EAPI
7# undef EAPI
8#endif
9
10#ifdef EFL_BUILD
11# ifdef DLL_EXPORT
12# define EAPI __declspec(dllexport)
13# else
14# define EAPI
15# endif
16#else
17# define EAPI __declspec(dllimport)
18#endif
7 19
8 20
9#ifdef __cplusplus 21#ifdef __cplusplus
@@ -148,7 +160,8 @@ EAPI int munmap(void *addr,
148#endif 160#endif
149 161
150 162
151#include <evil_macro_pop.h> 163#undef EAPI
164#define EAPI
152 165
153 166
154#endif /* __EVIL_SYS_MMAN_H__ */ 167#endif /* __EVIL_SYS_MMAN_H__ */