mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-21052 Fix two compilations with UCONFIG_NO_CONVERSION option in t…
See #1127
This commit is contained in:
parent
ef91cc3673
commit
5944e1856c
2 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,7 @@ static const UnicodeString& _fieldString(UDebugEnumType type, int32_t field, Un
|
|||
if(str == NULL) {
|
||||
return fillin.remove();
|
||||
} else {
|
||||
return fillin = UnicodeString(str, ""); // optimize?
|
||||
return fillin = UnicodeString(str, -1, US_INV);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -441,6 +441,7 @@ ures_enumDependencies(const char *itemName, const UDataInfo *pInfo,
|
|||
|
||||
// get dependencies from conversion tables --------------------------------- ***
|
||||
|
||||
#if !UCONFIG_NO_CONVERSION
|
||||
/* code adapted from ucnv_swap() */
|
||||
static void
|
||||
ucnv_enumDependencies(const UDataSwapper *ds,
|
||||
|
@ -631,5 +632,6 @@ Package::enumDependencies(Item *pItem, void *context, CheckDependency check) {
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif /* UCONFIG_NO_CONVERSION */
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
|
Loading…
Add table
Reference in a new issue