summaryrefslogtreecommitdiff
path: root/ext/intl/common
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
commit5fa1cfbbe694ee6d4e6925cd5ca3e69d943ea4b1 (patch)
tree294c1d49ffa2711486c4e4678f9f1427d9331305 /ext/intl/common
parenta02ca5c881785763534cc8cf0ba580da9e174728 (diff)
downloadphp-git-5fa1cfbbe694ee6d4e6925cd5ca3e69d943ea4b1.tar.gz
- Support for UTS #46.
Diffstat (limited to 'ext/intl/common')
-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 );