Skip to content

Commit f5dc2c3

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fix GH-11071: Revert "Fix [-Wundef] warning in INTL extension"
2 parents 35c1bb2 + 31e21f7 commit f5dc2c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/intl/php_intl.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ PHP_RSHUTDOWN_FUNCTION( intl )
251251
/* {{{ PHP_MINFO_FUNCTION */
252252
PHP_MINFO_FUNCTION( intl )
253253
{
254-
#ifndef UCONFIG_NO_FORMATTING
254+
#if !UCONFIG_NO_FORMATTING
255255
UErrorCode status = U_ZERO_ERROR;
256256
const char *tzdata_ver = NULL;
257257
#endif
@@ -262,7 +262,7 @@ PHP_MINFO_FUNCTION( intl )
262262
#ifdef U_ICU_DATA_VERSION
263263
php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION );
264264
#endif
265-
#ifndef UCONFIG_NO_FORMATTING
265+
#if !UCONFIG_NO_FORMATTING
266266
tzdata_ver = ucal_getTZDataVersion(&status);
267267
if (U_ZERO_ERROR == status) {
268268
php_info_print_table_row( 2, "ICU TZData version", tzdata_ver);

0 commit comments

Comments
 (0)