mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
VS2003: fix #if condition precedence
This commit is contained in:
@ -57,7 +57,7 @@ const char* plLocalization::fLangTags[] =
|
||||
};
|
||||
const int kLangTagLen = 4;
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1800
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
|
||||
std::string fLangCodes_en[] = {"eng", "en"};
|
||||
std::string fLangCodes_fr[] = {"fre", "fra", "fr"};
|
||||
std::string fLangCodes_de[] = {"ger", "deu", "de"};
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
protected:
|
||||
static Language fLanguage;
|
||||
static const char* fLangTags[kNumLanguages];
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1800
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
|
||||
static const std::set<std::string> fLangCodes[kNumLanguages];
|
||||
#endif
|
||||
static const char* fLangNames[kNumLanguages];
|
||||
|
Reference in New Issue
Block a user