summaryrefslogtreecommitdiff
path: root/ext/intl/common/common_error.c
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2012-10-04 08:39:21 +0100
committerDerick Rethans <github@derickrethans.nl>2012-10-04 08:39:21 +0100
commit34eb787828d3ef7a773464ace6db40444dcef9a3 (patch)
treecf31114fe2cb673b9042eb6ff1df9954ecf54a31 /ext/intl/common/common_error.c
parentab62ffa0a2467d8781aca65bd11dbfc034de7c64 (diff)
parent9e3396b85dc5e21fefbe43e161ecf25292da6b8e (diff)
downloadphp-git-34eb787828d3ef7a773464ace6db40444dcef9a3.tar.gz
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
Diffstat (limited to 'ext/intl/common/common_error.c')
-rw-r--r--ext/intl/common/common_error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/common/common_error.c b/ext/intl/common/common_error.c
index a0ee7c145f..282172224c 100644
--- 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