diff options
Diffstat (limited to 'nonposix.h')
-rw-r--r-- | nonposix.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -57,6 +57,12 @@ int unsetenv (const char *); int setenv (const char *, const char *, int); void w32_maybe_set_errno (void); char *w32_setlocale (int, const char *); +/* libintl.h from GNU gettext defines setlocale to redirect that to + its own function. Note: this will have to be revisited if MinGW + Gawk will support ENABLE_NLS at some point. */ +#ifdef setlocale +# undef setlocale +#endif #define setlocale(c,v) w32_setlocale(c,v) #endif /* __MINGW32__ */ |