RFC: [email protected]'

Rick Rankin <rick_rankin-/[email protected]>
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
In building XEmacs 21.4.9 RC1 for Cygwin, I discovered a missing #define in
winnls.h in the w32api package. LOCALE_RETURN_NUMBER, which is defined in the
MS header WINNLS.H and documented in MSDN, is needed by this version of XEmacs.
The patch below corrects this.

I hope this is the correct forum for this patch.

--Rick

--- winnls.h.orig       2002-05-26 10:00:38.000000000 -0700
+++ winnls.h    2002-05-26 10:01:25.000000000 -0700
@@ -8,6 +8,11 @@
 extern "C" {
 #endif
 
+#if (WINVER >= 0x0400)
+/* Return value as a number instead of a string */
+#define LOCALE_RETURN_NUMBER 0x20000000
+#endif
+
 #define MAX_LEADBYTES  12
 #define MAX_DEFAULTCHAR        2
 #define LOCALE_NOUSEROVERRIDE  0x80000000

---- ChangeLog entry ----

2002-05-26  Rick Rankin  <rick_rankin-/[email protected]>

	* include/winnls.h: Add #define for LOCALE_RETURN_NUMBER.



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.