ICU-21532 In UTimeZoneLocalOption enum, add dummy value if U_HIDE_DRAFT_API

This commit is contained in:
Peter Edberg 2021-03-10 23:12:37 -08:00 committed by Peter Edberg
parent 8bb71362f2
commit 3dd1ca10df

View file

@ -1674,6 +1674,13 @@ enum UTimeZoneLocalOption {
* @draft ICU 69
*/
UCAL_TZ_LOCAL_DAYLIGHT_LATTER = UCAL_TZ_LOCAL_LATTER | 0x03,
#else /* U_HIDE_DRAFT_API */
/**
* Dummy value to prevent empty enum if U_HIDE_DRAFT_API.
* This will go away when draft conditionals are removed.
* @internal
*/
UCAL_TZ_LOCAL_NONE = 0,
#endif /* U_HIDE_DRAFT_API */
};
typedef enum UTimeZoneLocalOption UTimeZoneLocalOption; /**< @draft ICU 69 */