aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-10-09 08:36:21 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-10-09 08:36:21 +0000
commit1441f6a3d13a4f3e7eff8997a401b5231c52e98a (patch)
tree7e47bc925af297ba3da634cb1f30f8b127625e8e
parentec4e5025e91a5012681702567d5b64627abe499e (diff)
downloadnewlib-1441f6a3d13a4f3e7eff8997a401b5231c52e98a.zip
newlib-1441f6a3d13a4f3e7eff8997a401b5231c52e98a.tar.gz
newlib-1441f6a3d13a4f3e7eff8997a401b5231c52e98a.tar.bz2
* include/cygwin/config.h (DEFAULT_LOCALE): Define as "C.UTF-8".
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/cygwin/config.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index ea65bf5..01e2a76 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-09 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/cygwin/config.h (DEFAULT_LOCALE): Define as "C.UTF-8".
+
2009-10-08 Christopher Faylor <me+cygwin@cgf.cx>
* exceptions.cc (_cygtls::signal_exit): There's no need to set
diff --git a/winsup/cygwin/include/cygwin/config.h b/winsup/cygwin/include/cygwin/config.h
index da82c1d..4404a94 100644
--- a/winsup/cygwin/include/cygwin/config.h
+++ b/winsup/cygwin/include/cygwin/config.h
@@ -67,6 +67,8 @@ extern char *_tlsbase __asm__ ("%fs:4");
#define __WCHAR_MAX__ 0xffffu
#endif
+#define DEFAULT_LOCALE "C.UTF-8"
+
#ifdef __cplusplus
}
#endif