diff --git a/icu4c/source/common/locdispnames.cpp b/icu4c/source/common/locdispnames.cpp index dff49ce626..c3362d38f3 100644 --- a/icu4c/source/common/locdispnames.cpp +++ b/icu4c/source/common/locdispnames.cpp @@ -241,6 +241,8 @@ Locale::getDisplayName(const Locale &displayLocale, return result; } +#if ! UCONFIG_NO_BREAK_ITERATION + // ------------------------------------- // Gets the objectLocale display name in the default locale language. UnicodeString& U_EXPORT2 @@ -260,6 +262,9 @@ BreakIterator::getDisplayName(const Locale& objectLocale, return objectLocale.getDisplayName(displayLocale, name); } +#endif + + U_NAMESPACE_END // C API ------------------------------------------------------------------- *** diff --git a/icu4c/source/common/unicode/uchar.h b/icu4c/source/common/unicode/uchar.h index 7b42901473..b3561bff92 100644 --- a/icu4c/source/common/unicode/uchar.h +++ b/icu4c/source/common/unicode/uchar.h @@ -3092,6 +3092,7 @@ u_charAge(UChar32 c, UVersionInfo versionArray); U_STABLE void U_EXPORT2 u_getUnicodeVersion(UVersionInfo versionArray); +#if !UCONFIG_NO_NORMALIZATION /** * Get the FC_NFKC_Closure property string for a character. * See Unicode Standard Annex #15 for details, search for "FC_NFKC_Closure" @@ -3116,6 +3117,9 @@ u_getUnicodeVersion(UVersionInfo versionArray); U_STABLE int32_t U_EXPORT2 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode); +#endif + + U_CDECL_END #endif /*_UCHAR*/ diff --git a/icu4c/source/common/uprops.cpp b/icu4c/source/common/uprops.cpp index 19b08fe7a1..37409cec9c 100644 --- a/icu4c/source/common/uprops.cpp +++ b/icu4c/source/common/uprops.cpp @@ -589,6 +589,8 @@ uprops_getSource(UProperty which) { } } +#if !UCONFIG_NO_NORMALIZATION + U_CAPI int32_t U_EXPORT2 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) { if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { @@ -637,6 +639,7 @@ u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *p return kc2.extract(dest, destCapacity, *pErrorCode); } } +#endif /*---------------------------------------------------------------- * Inclusions list