diff options
Diffstat (limited to 'src/lib/evil/evil_locale.c')
-rw-r--r-- | src/lib/evil/evil_locale.c | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/src/lib/evil/evil_locale.c b/src/lib/evil/evil_locale.c index 15610da6a6..388c7f5ef3 100644 --- a/src/lib/evil/evil_locale.c +++ b/src/lib/evil/evil_locale.c @@ -12,21 +12,7 @@ #include <windows.h> #undef WIN32_LEAN_AND_MEAN -#ifdef EAPI -# undef EAPI -#endif - -#ifdef EFL_BUILD -# ifdef DLL_EXPORT -# define EAPI __declspec(dllexport) -# else -# define EAPI -# endif -#else -# define EAPI __declspec(dllimport) -#endif - -#include "evil_locale.h" /* LC_MESSAGES */ +#include "evil_private.h" /* LC_MESSAGES */ /* * LOCALE_SISO639LANGNAME and LOCALE_SISO3166CTRYNAME need at least a buffer @@ -35,7 +21,10 @@ */ static char _evil_locale_buf[18]; -char *evil_setlocale(int category, const char *locale) +#undef setlocale + +EVIL_API char * +evil_setlocale(int category, const char *locale) { char buf[9]; int l1; |