include: Remove some non-standard sublang synonyms.

Francois Gouget fgouget at free.fr
Mon Jul 8 09:26:21 CDT 2013


---

In the case of Lithuanian the PSDK has SUBLANG_LITHUANIAN so I defined 
SUBLANG_LITHUANIAN_LITHUANIA to be a synonym for it and kept it because 
we also have SUBLANG_LITHUANIAN_CLASSIC.

For the others I see no reason to define Wine-specific 
synonyms for standard constants, even more so since we don't 
even use them.


 include/winnt.rh |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/include/winnt.rh b/include/winnt.rh
index 3d2cde7a..7f09ba8 100644
--- a/include/winnt.rh
+++ b/include/winnt.rh
@@ -297,7 +297,7 @@
 #define SUBLANG_KYRGYZ_KYRGYZSTAN          0x01
 #define SUBLANG_LAO_LAO                    0x01
 #define SUBLANG_LATVIAN_LATVIA             0x01
-#define SUBLANG_LITHUANIAN_LITHUANIA       0x01
+#define SUBLANG_LITHUANIAN                 0x01
 #define SUBLANG_LOWER_SORBIAN_GERMANY      0x02
 #define SUBLANG_LUXEMBOURGISH_LUXEMBOURG   0x01
 #define SUBLANG_MACEDONIAN_MACEDONIA       0x01
@@ -413,7 +413,6 @@
 #define SUBLANG_ENGLISH_IRELAND            SUBLANG_ENGLISH_EIRE
 #define SUBLANG_HAUSA_NIGERIA              SUBLANG_HAUSA_NIGERIA_LATIN
 #define SUBLANG_LAO_LAO_PDR                SUBLANG_LAO_LAO
-#define SUBLANG_LITHUANIAN                 SUBLANG_LITHUANIAN_LITHUANIA
 #define SUBLANG_PORTUGUESE_PORTUGAL        SUBLANG_PORTUGUESE
 #define SUBLANG_SWAHILI                    SUBLANG_SWAHILI_KENYA
 #define SUBLANG_SWEDISH_SWEDEN             SUBLANG_SWEDISH
@@ -421,11 +420,9 @@
 
 /* FIXME: these are not defined anywhere */
 #define SUBLANG_DUTCH_SURINAM              0x03
-#define SUBLANG_ROMANIAN                   SUBLANG_ROMANIAN_ROMANIA
 #define SUBLANG_ROMANIAN_MOLDAVIA          0x02
-#define SUBLANG_RUSSIAN                    SUBLANG_RUSSIAN_RUSSIA
 #define SUBLANG_RUSSIAN_MOLDAVIA           0x02
-#define SUBLANG_CROATIAN                   SUBLANG_CROATIAN_CROATIA
+#define SUBLANG_LITHUANIAN_LITHUANIA       SUBLANG_LITHUANIAN
 #define SUBLANG_LITHUANIAN_CLASSIC         0x02
 #define SUBLANG_MANX_GAELIC                0x01
 
-- 
1.7.10.4



More information about the wine-patches mailing list