diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-23 16:19:58 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-23 16:19:58 (GMT) |
commit | c9071e8f9a26dee3a166579df69da11e0f6323fa (patch) | |
tree | 5dcf593417740308bf6463fd2fbb0c25d8b02233 /src/corelib/tools/qlocale.cpp | |
parent | 9838580a408e6968256a254f6023414247877ec9 (diff) | |
download | Qt-c9071e8f9a26dee3a166579df69da11e0f6323fa.zip Qt-c9071e8f9a26dee3a166579df69da11e0f6323fa.tar.gz Qt-c9071e8f9a26dee3a166579df69da11e0f6323fa.tar.bz2 |
QLocale: Compile fix on Windows
Reviewed-by: trustme
Diffstat (limited to 'src/corelib/tools/qlocale.cpp')
-rw-r--r-- | src/corelib/tools/qlocale.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index 86b6d33..61f7b7c 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -457,6 +457,10 @@ static QByteArray envVarLocale() ** Wrappers for Windows locale system functions */ +#ifndef MUI_LANGUAGE_NAME +#define MUI_LANGUAGE_NAME 0x8 +#endif + static const char *winLangCodeToIsoName(int code); static QString winIso639LangName(LCID id = LOCALE_USER_DEFAULT); static QString winIso3116CtryName(LCID id = LOCALE_USER_DEFAULT); |