diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2011-11-26 14:55:31 +0000 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2011-11-26 14:55:31 +0000 |
commit | 7c2946f80e362afb66d82ea7b1a6cd37c7ca539c (patch) | |
tree | be77028566d357b7654ea73732583b41ce36047e | |
parent | 8c66fc398f103058ca85a588416b2cfe80468dba (diff) | |
download | php-git-7c2946f80e362afb66d82ea7b1a6cd37c7ca539c.tar.gz |
- Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)
(fedora at famillecollet dot com)
-rwxr-xr-x | ext/intl/common/common_error.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/common/common_error.c b/ext/intl/common/common_error.c index 14d9cebfe7..24ded0c9fb 100755 --- a/ext/intl/common/common_error.c +++ b/ext/intl/common/common_error.c @@ -241,7 +241,9 @@ 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 ); +#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 INTL_EXPOSE_CONST( U_IDNA_ERROR_LIMIT ); /* Aliases for StringPrep */ |