Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared).

  (fedora at famillecollet dot com)


git-svn-id: https://svn.php.net/repository/pecl/intl/trunk@319953 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 66fd2e7d73cda045ed9b7774b6a0eaa4ac8df8b5 1 parent 1ac4b65
@cataphract authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  common/common_error.c
View
2  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 */
Please sign in to comment.
Something went wrong with that request. Please try again.