php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62933
Patch intl-icu-const.patch revision 2012-08-26 10:04 UTC by glen at delfi dot ee

Patch intl-icu-const.patch for intl Bug #62933

Patch version 2012-08-26 10:04 UTC

Return to Bug #62933 | Download this patch
Patch Revisions:

Developer: glen@delfi.ee

https://bugs.php.net/bug.php?id=60392
https://github.com/php/php-src/commit/5fa1cfbbe694ee6d4e6925cd5ca3e69d943ea4b1

--- php-5.4.6/ext/intl/common/common_error.c~	2012-08-15 07:26:05.000000000 +0300
+++ php-5.4.6/ext/intl/common/common_error.c	2012-08-23 23:43:52.149019903 +0300
@@ -240,7 +240,9 @@
 	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 defined(U_IDNA_ZERO_LENGTH_LABEL_ERROR)
 	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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC