mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-18 11:14:22 +00:00
ICU-11448 try to fix a build error on some platforms
X-SVN-Rev: 36912
This commit is contained in:
parent
85e65d2170
commit
b2c4740141
1 changed files with 7 additions and 0 deletions
|
@ -189,6 +189,13 @@ RuleBasedCollator::internalBuildTailoring(const UnicodeString &rules,
|
|||
|
||||
// CollationBuilder implementation ----------------------------------------- ***
|
||||
|
||||
// Some compilers don't care if constants are defined in the .cpp file.
|
||||
// MS Visual C++ does not like it, but gcc requires it. clang does not care.
|
||||
#ifndef _MSC_VER
|
||||
const int32_t CollationBuilder::HAS_BEFORE2;
|
||||
const int32_t CollationBuilder::HAS_BEFORE3;
|
||||
#endif
|
||||
|
||||
CollationBuilder::CollationBuilder(const CollationTailoring *b, UErrorCode &errorCode)
|
||||
: nfd(*Normalizer2::getNFDInstance(errorCode)),
|
||||
fcd(*Normalizer2Factory::getFCDInstance(errorCode)),
|
||||
|
|
Loading…
Add table
Reference in a new issue