diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2016-06-16 14:42:59 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2016-06-16 14:42:59 +0200 |
commit | 94f784fe9627e218525a9beb340f8b9e24128aee (patch) | |
tree | 237b8e2beb7187d9458f720e1f2d62f36646f73d | |
parent | 6d54b94db5c9a629e939754c750af80c7d66697b (diff) | |
download | efl-94f784fe9627e218525a9beb340f8b9e24128aee.tar.gz |
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
-rw-r--r-- | src/lib/evil/dirent.h | 4 | ||||
-rw-r--r-- | src/lib/evil/sys/mman.h | 3 |
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); #endif /* __cplusplus */ +#undef EAPI +#define EAPI + + /** * @} 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, #endif +#include <evil_macro_pop.h> + + #endif /* __EVIL_SYS_MMAN_H__ */ |