aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-05-27 08:49:26 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-05-27 08:49:26 +0000
commita440dc9527cd30bf57e5e0b82ff1b52cd56a2e23 (patch)
tree9b885edd19296d2713062cdac624e2452099cf9b
parent918a268c8085f18ff6683a9b5979411c064ace82 (diff)
downloadnewlib-a440dc9527cd30bf57e5e0b82ff1b52cd56a2e23.zip
newlib-a440dc9527cd30bf57e5e0b82ff1b52cd56a2e23.tar.gz
newlib-a440dc9527cd30bf57e5e0b82ff1b52cd56a2e23.tar.bz2
2002-05-27 Rick Rankin <rick_rankin@yahoo.com>
* include/winnls.h: Add #define for LOCALE_RETURN_NUMBER.
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winnls.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 0322f02..223dd8f 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-27 Rick Rankin <rick_rankin@yahoo.com>
+
+ * include/winnls.h: Add #define for LOCALE_RETURN_NUMBER.
+
2002-05-21 Earnie Boyd <earnie@users.sf.net>
* Makefile.in: Increment VERSION to 1.4.
diff --git a/winsup/w32api/include/winnls.h b/winsup/w32api/include/winnls.h
index 3933812..b39f807 100644
--- a/winsup/w32api/include/winnls.h
+++ b/winsup/w32api/include/winnls.h
@@ -12,6 +12,9 @@ extern "C" {
#define MAX_DEFAULTCHAR 2
#define LOCALE_NOUSEROVERRIDE 0x80000000
#define LOCALE_USE_CP_ACP 0x40000000
+#if (WINVER >= 0x0400)
+#define LOCALE_RETURN_NUMBER 0x20000000
+#endif
#define LOCALE_ILANGUAGE 1
#define LOCALE_SLANGUAGE 2
#define LOCALE_SENGLANGUAGE 0x1001