Skip to content

Commit 1ce572c

Browse files
committed
Bug #62933: compilation error with ICU 3.4
1 parent 8e7081f commit 1ce572c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/intl/common/common_error.c

+2
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ void intl_expose_icu_error_codes( INIT_FUNC_ARGS )
240240
INTL_EXPOSE_CONST( U_IDNA_ACE_PREFIX_ERROR );
241241
INTL_EXPOSE_CONST( U_IDNA_VERIFICATION_ERROR );
242242
INTL_EXPOSE_CONST( U_IDNA_LABEL_TOO_LONG_ERROR );
243+
#if U_ICU_VERSION_MAJOR_NUM > 3 || U_ICU_VERSION_MAJOR_NUM == 3 && U_ICU_VERSION_MINOR_NUM >= 6
243244
INTL_EXPOSE_CONST( U_IDNA_ZERO_LENGTH_LABEL_ERROR );
245+
#endif
244246
#if U_ICU_VERSION_MAJOR_NUM > 3 || U_ICU_VERSION_MAJOR_NUM == 3 && U_ICU_VERSION_MINOR_NUM >= 8
245247
INTL_EXPOSE_CONST( U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR );
246248
#endif

0 commit comments

Comments
 (0)