summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2016-06-16 14:42:59 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-16 14:42:59 +0200
commit94f784fe9627e218525a9beb340f8b9e24128aee (patch)
tree237b8e2beb7187d9458f720e1f2d62f36646f73d /src/lib/evil
parent6d54b94db5c9a629e939754c750af80c7d66697b (diff)
Evil: fix EAPI when dirent.h and mman.h are included (Windows only)
Test Plan: compilatioN Reviewers: cedric, jpeg, stefan_schmidt Differential Revision: https://phab.enlightenment.org/D4055
Diffstat (limited to 'src/lib/evil')
-rw-r--r--src/lib/evil/dirent.h4
-rw-r--r--src/lib/evil/sys/mman.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/evil/dirent.h b/src/lib/evil/dirent.h
index 1ccc4bd9f2..9c58019b52 100644
--- a/src/lib/evil/dirent.h
+++ b/src/lib/evil/dirent.h
@@ -133,6 +133,10 @@ EAPI struct dirent *readdir(DIR *dir);
133#endif /* __cplusplus */ 133#endif /* __cplusplus */
134 134
135 135
136#undef EAPI
137#define EAPI
138
139
136 140
137/** 141/**
138 * @} 142 * @}
diff --git a/src/lib/evil/sys/mman.h b/src/lib/evil/sys/mman.h
index 575f1261e9..0a36ebf416 100644
--- a/src/lib/evil/sys/mman.h
+++ b/src/lib/evil/sys/mman.h
@@ -148,5 +148,8 @@ EAPI int munmap(void *addr,
148#endif 148#endif
149 149
150 150
151#include <evil_macro_pop.h>
152
153
151#endif /* __EVIL_SYS_MMAN_H__ */ 154#endif /* __EVIL_SYS_MMAN_H__ */
152 155