summaryrefslogtreecommitdiff
path: root/ext/intl/common/common_error.c
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2011-11-24 17:54:50 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2011-11-24 17:54:50 +0000
commitfa4fe639447e821a0617b80609f18eb251d4bf2b (patch)
treeefdf0245e5d419099e20fc0f5d17dd2f051db31c /ext/intl/common/common_error.c
parentd0a898d2a2852e697ea3d3bde6136993b75ad4f4 (diff)
downloadphp-git-fa4fe639447e821a0617b80609f18eb251d4bf2b.tar.gz
- Support for UTS #46.
Diffstat (limited to 'ext/intl/common/common_error.c')
-rwxr-xr-xext/intl/common/common_error.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/intl/common/common_error.c b/ext/intl/common/common_error.c
index 3ab7fdfbdd..14d9cebfe7 100755
--- a/ext/intl/common/common_error.c
+++ b/ext/intl/common/common_error.c
@@ -232,7 +232,6 @@ void intl_expose_icu_error_codes( INIT_FUNC_ARGS )
INTL_EXPOSE_CONST( U_REGEX_ERROR_LIMIT );
/* The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes */
-#if defined(U_IDNA_PROHIBITED_ERROR)
INTL_EXPOSE_CONST( U_IDNA_PROHIBITED_ERROR );
INTL_EXPOSE_CONST( U_IDNA_ERROR_START );
INTL_EXPOSE_CONST( U_IDNA_UNASSIGNED_ERROR );
@@ -242,8 +241,8 @@ void intl_expose_icu_error_codes( INIT_FUNC_ARGS )
INTL_EXPOSE_CONST( U_IDNA_VERIFICATION_ERROR );
INTL_EXPOSE_CONST( U_IDNA_LABEL_TOO_LONG_ERROR );
INTL_EXPOSE_CONST( U_IDNA_ZERO_LENGTH_LABEL_ERROR );
+ INTL_EXPOSE_CONST( U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR );
INTL_EXPOSE_CONST( U_IDNA_ERROR_LIMIT );
-#endif
/* Aliases for StringPrep */
INTL_EXPOSE_CONST( U_STRINGPREP_PROHIBITED_ERROR );