Changelog: WRC Porting fix. Move non-standard Language IDs
Index: winnt.h =================================================================== RCS file: /home/wine/wine/include/winnt.h,v retrieving revision 1.164 diff -u -r1.164 winnt.h --- winnt.h 13 Aug 2003 19:35:22 -0000 1.164 +++ winnt.h 22 Aug 2003 00:12:06 -0000 @@ -1288,7 +1288,6 @@ #define LANG_CROATIAN 0x1a #define LANG_CZECH 0x05 #define LANG_DANISH 0x06 -#define LANG_DIVEHI 0x65 #define LANG_DUTCH 0x13 #define LANG_ENGLISH 0x09 #define LANG_ESTONIAN 0x25 @@ -1296,7 +1295,6 @@ #define LANG_FARSI 0x29 #define LANG_FINNISH 0x0b #define LANG_FRENCH 0x0c -#define LANG_GALICIAN 0x56 #define LANG_GEORGIAN 0x37 #define LANG_GERMAN 0x07 #define LANG_GREEK 0x08 @@ -1313,7 +1311,6 @@ #define LANG_KAZAK 0x3f #define LANG_KONKANI 0x57 #define LANG_KOREAN 0x12 -#define LANG_KYRGYZ 0x40 #define LANG_LATVIAN 0x26 #define LANG_LITHUANIAN 0x27 #define LANG_MACEDONIAN 0x2f @@ -1321,7 +1318,6 @@ #define LANG_MALAYALAM 0x4c #define LANG_MANIPURI 0x58 #define LANG_MARATHI 0x4e -#define LANG_MONGOLIAN 0x50 #define LANG_NEPALI 0x61 #define LANG_NORWEGIAN 0x14 #define LANG_ORIYA 0x48 @@ -1338,7 +1334,6 @@ #define LANG_SPANISH 0x0a #define LANG_SWAHILI 0x41 #define LANG_SWEDISH 0x1d -#define LANG_SYRIAC 0x5a #define LANG_TAMIL 0x49 #define LANG_TATAR 0x44 #define LANG_TELUGU 0x4a @@ -1348,27 +1343,6 @@ #define LANG_URDU 0x20 #define LANG_UZBEK 0x43 #define LANG_VIETNAMESE 0x2a - -/* FIXME: these are not in the Windows header */ -#define LANG_GAELIC 0x3c -#define LANG_MALTESE 0x3a -#define LANG_MAORI 0x28 -#define LANG_RHAETO_ROMANCE 0x17 -#define LANG_SAAMI 0x3b -#define LANG_SORBIAN 0x2e -#define LANG_SUTU 0x30 -#define LANG_TSONGA 0x31 -#define LANG_TSWANA 0x32 -#define LANG_VENDA 0x33 -#define LANG_XHOSA 0x34 -#define LANG_ZULU 0x35 - -/* non standard; keep the number high enough (but < 0xff) */ -#define LANG_ESPERANTO 0x8f -#define LANG_WALON 0x90 -#define LANG_CORNISH 0x91 -#define LANG_WELSH 0x92 -#define LANG_BRETON 0x93
/* Sublanguage definitions */ #define SUBLANG_NEUTRAL 0x00 /* language neutral */
Index: port.h =================================================================== RCS file: /home/wine/wine/include/wine/port.h,v retrieving revision 1.39 diff -u -r1.39 port.h --- port.h 15 Jul 2003 20:45:49 -0000 1.39 +++ port.h 22 Aug 2003 00:15:15 -0000 @@ -117,6 +117,34 @@ # define O_LARGEFILE 0 #endif
+/****************************************************************
+ * Support for non-standard languages in WRC
+ * These are not in the Windows headers
+ */
+
+#define LANG_GAELIC 0x3c
+#define LANG_MALTESE 0x3a
+#define LANG_MAORI 0x28
+#define LANG_RHAETO_ROMANCE 0x17
+#define LANG_SAAMI 0x3b
+#define LANG_SORBIAN 0x2e
+#define LANG_SUTU 0x30
+#define LANG_TSONGA 0x31
+#define LANG_TSWANA 0x32
+#define LANG_VENDA 0x33
+#define LANG_XHOSA 0x34
+#define LANG_ZULU 0x35
+#define LANG_DIVEHI 0x65
+#define LANG_GALICIAN 0x56
+#define LANG_KYRGYZ 0x40
+#define LANG_MONGOLIAN 0x50
+#define LANG_SYRIAC 0x5a
+/* non standard; keep the number high enough (but < 0xff) */
+#define LANG_ESPERANTO 0x8f
+#define LANG_WALON 0x90
+#define LANG_CORNISH 0x91
+#define LANG_WELSH 0x92 +#define LANG_BRETON 0x93
/**************************************************************** * Constants