projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e7081f
)
Bug #62933: compilation error with ICU 3.4
author
Gustavo Lopes
<glopes@nebm.ist.utl.pt>
Sun, 26 Aug 2012 19:57:50 +0000
(21:57 +0200)
committer
Gustavo Lopes
<glopes@nebm.ist.utl.pt>
Sun, 26 Aug 2012 19:57:53 +0000
(21:57 +0200)
ext/intl/common/common_error.c
patch
|
blob
|
history
diff --git
a/ext/intl/common/common_error.c
b/ext/intl/common/common_error.c
index a0ee7c145ffd54b6fa75395b9ba3b3b1fad4f58b..282172224c07414849950678bbe82e7e30e2d07e 100644
(file)
--- a/
ext/intl/common/common_error.c
+++ b/
ext/intl/common/common_error.c
@@
-240,7
+240,9
@@
void intl_expose_icu_error_codes( INIT_FUNC_ARGS )
INTL_EXPOSE_CONST( U_IDNA_ACE_PREFIX_ERROR );
INTL_EXPOSE_CONST( U_IDNA_VERIFICATION_ERROR );
INTL_EXPOSE_CONST( U_IDNA_LABEL_TOO_LONG_ERROR );
+#if U_ICU_VERSION_MAJOR_NUM > 3 || U_ICU_VERSION_MAJOR_NUM == 3 && U_ICU_VERSION_MINOR_NUM >= 6
INTL_EXPOSE_CONST( U_IDNA_ZERO_LENGTH_LABEL_ERROR );
+#endif
#if U_ICU_VERSION_MAJOR_NUM > 3 || U_ICU_VERSION_MAJOR_NUM == 3 && U_ICU_VERSION_MINOR_NUM >= 8
INTL_EXPOSE_CONST( U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR );
#endif