aboutsummaryrefslogtreecommitdiffstats
path: root/nonposix.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-01-21 17:31:04 +0200
committerEli Zaretskii <eliz@gnu.org>2017-01-21 17:31:04 +0200
commit0d5d4035201e38c5d61031ee414ca41c6f1c8bd3 (patch)
treea6eb871855389b7be3f05337f933638592838e42 /nonposix.h
parente3e911b992f11a567cca0a0ed6ed04ef5f9e21f7 (diff)
downloadegawk-0d5d4035201e38c5d61031ee414ca41c6f1c8bd3.tar.gz
egawk-0d5d4035201e38c5d61031ee414ca41c6f1c8bd3.tar.bz2
egawk-0d5d4035201e38c5d61031ee414ca41c6f1c8bd3.zip
Support LC_* environment variables in the MinGW build.
Diffstat (limited to 'nonposix.h')
-rw-r--r--nonposix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nonposix.h b/nonposix.h
index cbc4f499..9a722dd9 100644
--- a/nonposix.h
+++ b/nonposix.h
@@ -56,6 +56,9 @@ unsigned int getegid (void);
int unsetenv (const char *);
int setenv (const char *, const char *, int);
void w32_maybe_set_errno (void);
+char *w32_setlocale (int, const char *);
+#define setlocale(c,v) w32_setlocale(c,v)
+
#endif /* __MINGW32__ */
#if defined(VMS) || defined(__DJGPP__) || defined(__MINGW32__)