mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Merge branch 'PHP-8.2'
* PHP-8.2: Fix GH-11071: Revert "Fix [-Wundef] warning in INTL extension"
This commit is contained in:
@@ -251,7 +251,7 @@ PHP_RSHUTDOWN_FUNCTION( intl )
|
||||
/* {{{ PHP_MINFO_FUNCTION */
|
||||
PHP_MINFO_FUNCTION( intl )
|
||||
{
|
||||
#ifndef UCONFIG_NO_FORMATTING
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
const char *tzdata_ver = NULL;
|
||||
#endif
|
||||
@@ -262,7 +262,7 @@ PHP_MINFO_FUNCTION( intl )
|
||||
#ifdef U_ICU_DATA_VERSION
|
||||
php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION );
|
||||
#endif
|
||||
#ifndef UCONFIG_NO_FORMATTING
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
tzdata_ver = ucal_getTZDataVersion(&status);
|
||||
if (U_ZERO_ERROR == status) {
|
||||
php_info_print_table_row( 2, "ICU TZData version", tzdata_ver);
|
||||
|
||||
Reference in New Issue
Block a user