]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/unicode/udatpg.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / unicode / udatpg.h
index 07339bbc4b8e2534cebb5a2ef0feafda8586bd0a..4319aa5108a5d3ba67d18f401f90350126c68500 100644 (file)
@@ -88,11 +88,13 @@ typedef enum UDateTimePatternField {
 
     /* Do not conditionalize the following with #ifndef U_HIDE_DEPRECATED_API,
      * it is needed for layout of DateTimePatternGenerator object. */
+#ifndef U_FORCE_HIDE_DEPRECATED_API
     /**
      * One more than the highest normal UDateTimePatternField value.
      * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
      */
     UDATPG_FIELD_COUNT
+#endif  // U_FORCE_HIDE_DEPRECATED_API
 } UDateTimePatternField;
 
 /**
@@ -202,7 +204,7 @@ U_DEFINE_LOCAL_OPEN_POINTER(LocalUDateTimePatternGeneratorPointer, UDateTimePatt
 
 U_NAMESPACE_END
 
-#endif // U_SHOW_CPLUSPLUS_API
+#endif
 
 /**
   * Create a copy pf a generator.