mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.2'
* PHP-8.2: Fix GH-11071: Revert "Fix [-Wundef] warning in INTL extension"
This commit is contained in:
commit
c75facb566
1 changed files with 2 additions and 2 deletions
|
@ -251,7 +251,7 @@ PHP_RSHUTDOWN_FUNCTION( intl )
|
||||||
/* {{{ PHP_MINFO_FUNCTION */
|
/* {{{ PHP_MINFO_FUNCTION */
|
||||||
PHP_MINFO_FUNCTION( intl )
|
PHP_MINFO_FUNCTION( intl )
|
||||||
{
|
{
|
||||||
#ifndef UCONFIG_NO_FORMATTING
|
#if !UCONFIG_NO_FORMATTING
|
||||||
UErrorCode status = U_ZERO_ERROR;
|
UErrorCode status = U_ZERO_ERROR;
|
||||||
const char *tzdata_ver = NULL;
|
const char *tzdata_ver = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
@ -262,7 +262,7 @@ PHP_MINFO_FUNCTION( intl )
|
||||||
#ifdef U_ICU_DATA_VERSION
|
#ifdef U_ICU_DATA_VERSION
|
||||||
php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION );
|
php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION );
|
||||||
#endif
|
#endif
|
||||||
#ifndef UCONFIG_NO_FORMATTING
|
#if !UCONFIG_NO_FORMATTING
|
||||||
tzdata_ver = ucal_getTZDataVersion(&status);
|
tzdata_ver = ucal_getTZDataVersion(&status);
|
||||||
if (U_ZERO_ERROR == status) {
|
if (U_ZERO_ERROR == status) {
|
||||||
php_info_print_table_row( 2, "ICU TZData version", tzdata_ver);
|
php_info_print_table_row( 2, "ICU TZData version", tzdata_ver);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue