diff options
Diffstat (limited to 'src/lib/evil/fnmatch.h')
-rw-r--r-- | src/lib/evil/fnmatch.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/evil/fnmatch.h b/src/lib/evil/fnmatch.h index f2a9266e53..0464fa7ef6 100644 --- a/src/lib/evil/fnmatch.h +++ b/src/lib/evil/fnmatch.h @@ -3,19 +3,19 @@ #ifdef EAPI # undef EAPI -#endif /* EAPI */ +#endif #ifdef _WIN32 -# ifdef EFL_EVIL_BUILD +# ifdef EFL_BUILD # ifdef DLL_EXPORT # define EAPI __declspec(dllexport) # else # define EAPI -# endif /* ! DLL_EXPORT */ +# endif # else # define EAPI __declspec(dllimport) -# endif /* ! EFL_EVIL_BUILD */ -#endif /* _WIN32 */ +# endif +#endif #ifdef __cplusplus extern "C" { @@ -51,4 +51,7 @@ EAPI int fnmatch(const char *__pattern, const char *__string, int __flags); } #endif +#undef EAPI +#define EAPI + #endif /* __EVIL_FNMATCH_H__ */ |