diff options
Diffstat (limited to 'src/lib/evil/evil_locale.c')
-rw-r--r-- | src/lib/evil/evil_locale.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/lib/evil/evil_locale.c b/src/lib/evil/evil_locale.c index c932b27a69..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 @@ -37,7 +23,8 @@ static char _evil_locale_buf[18]; #undef setlocale -char *evil_setlocale(int category, const char *locale) +EVIL_API char * +evil_setlocale(int category, const char *locale) { char buf[9]; int l1; |