PATCH - Build wrc with MS_VC and PSDK

Steven Edwards steven_ed4153 at yahoo.com
Sun Sep 7 21:44:29 CDT 2003


Hello,
With this patch we can build wrc on MS_VC. I have to send a patch for the w32api and we should be
set to go on both MS_VC and Mingw with native headers.

Changelog:
LanguageID Porting for WRC.

Index: utils.c
===================================================================
RCS file: /home/wine/wine/tools/wrc/utils.c,v
retrieving revision 1.19
diff -u -r1.19 utils.c
--- utils.c	21 Mar 2003 21:30:51 -0000	1.19
+++ utils.c	8 Sep 2003 02:41:52 -0000
@@ -346,26 +346,22 @@
     { LANG_AZERI,          SUBLANG_AZERI_CYRILLIC,       1251 },
     { LANG_BASQUE,         SUBLANG_NEUTRAL,              1252 },
     { LANG_BELARUSIAN,     SUBLANG_NEUTRAL,              1251 },
-    { LANG_BRETON,         SUBLANG_NEUTRAL,              1252 },
     { LANG_BULGARIAN,      SUBLANG_NEUTRAL,              1251 },
     { LANG_CATALAN,        SUBLANG_NEUTRAL,              1252 },
     { LANG_CHINESE,        SUBLANG_NEUTRAL,              950  },
     { LANG_CHINESE,        SUBLANG_CHINESE_SINGAPORE,    936  },
     { LANG_CHINESE,        SUBLANG_CHINESE_SIMPLIFIED,   936  },
-    { LANG_CORNISH,        SUBLANG_NEUTRAL,              1252 },
     { LANG_CROATIAN,       SUBLANG_NEUTRAL,              1250 },
     { LANG_CZECH,          SUBLANG_NEUTRAL,              1250 },
     { LANG_DANISH,         SUBLANG_NEUTRAL,              1252 },
     { LANG_DIVEHI,         SUBLANG_NEUTRAL,              0    },
     { LANG_DUTCH,          SUBLANG_NEUTRAL,              1252 },
     { LANG_ENGLISH,        SUBLANG_NEUTRAL,              1252 },
-    { LANG_ESPERANTO,      SUBLANG_NEUTRAL,              1252 },
     { LANG_ESTONIAN,       SUBLANG_NEUTRAL,              1257 },
     { LANG_FAEROESE,       SUBLANG_NEUTRAL,              1252 },
     { LANG_FARSI,          SUBLANG_NEUTRAL,              1256 },
     { LANG_FINNISH,        SUBLANG_NEUTRAL,              1252 },
     { LANG_FRENCH,         SUBLANG_NEUTRAL,              1252 },
-    { LANG_GAELIC,         SUBLANG_NEUTRAL,              1252 },
     { LANG_GALICIAN,       SUBLANG_NEUTRAL,              1252 },
     { LANG_GEORGIAN,       SUBLANG_NEUTRAL,              0    },
     { LANG_GERMAN,         SUBLANG_NEUTRAL,              1252 },
@@ -414,9 +410,18 @@
     { LANG_URDU,           SUBLANG_NEUTRAL,              1256 },
     { LANG_UZBEK,          SUBLANG_NEUTRAL,              1254 },
     { LANG_UZBEK,          SUBLANG_UZBEK_CYRILLIC,       1251 },
-    { LANG_VIETNAMESE,     SUBLANG_NEUTRAL,              1258 },
+    { LANG_VIETNAMESE,     SUBLANG_NEUTRAL,              1258 }
+#if !defined(_MSC_VER) && defined(__GNUC__)
+#ifndef __MINGW32__
+    ,
+    { LANG_BRETON,         SUBLANG_NEUTRAL,              1252 },
+    { LANG_CORNISH,        SUBLANG_NEUTRAL,              1252 },
+    { LANG_ESPERANTO,      SUBLANG_NEUTRAL,              1252 },
+    { LANG_GAELIC,         SUBLANG_NEUTRAL,              1252 },
     { LANG_WALON,          SUBLANG_NEUTRAL,              1252 },
     { LANG_WELSH,          SUBLANG_NEUTRAL,              1252 }
+#endif /* __MINGW32__ */
+#endif /* !defined(_MSC_VER) && defined(__GNUC__) */
 };
 
 int get_language_codepage( unsigned short lang, unsigned short sublang )



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the wine-patches mailing list