diff --git a/icu4c/source/common/unicode/normlzr.h b/icu4c/source/common/unicode/normlzr.h index bb6f852f36..7be0a7d392 100644 --- a/icu4c/source/common/unicode/normlzr.h +++ b/icu4c/source/common/unicode/normlzr.h @@ -750,7 +750,9 @@ private: FilteredNormalizer2*fFilteredNorm2; // owned if not NULL const Normalizer2 *fNorm2; // not owned; may be equal to fFilteredNorm2 +#ifndef U_HIDE_DEPRECATED_API UNormalizationMode fUMode; +#endif /* U_HIDE_DEPRECATED_API */ int32_t fOptions; // The input text and our position in it diff --git a/icu4c/source/common/unicode/unorm.h b/icu4c/source/common/unicode/unorm.h index b9388e5967..4852538b3a 100644 --- a/icu4c/source/common/unicode/unorm.h +++ b/icu4c/source/common/unicode/unorm.h @@ -129,6 +129,7 @@ * For more usage examples, see the Unicode Standard Annex. */ +#ifndef U_HIDE_DEPRECATED_API /** * Constants for normalization modes. * @deprecated ICU 56 Use unorm2.h instead. @@ -152,6 +153,7 @@ typedef enum { /** One more than the highest normalization mode constant. @deprecated ICU 56 Use unorm2.h instead. */ UNORM_MODE_COUNT } UNormalizationMode; +#endif /* U_HIDE_DEPRECATED_API */ /** * Constants for options flags for normalization.