Skip to content

Commit ea86865

Browse files
committed
Fix [-Wundef] warning in INTL extension
1 parent 9cc24ba commit ea86865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/intl/php_intl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ PHP_RSHUTDOWN_FUNCTION( intl )
288288
*/
289289
PHP_MINFO_FUNCTION( intl )
290290
{
291-
#if !UCONFIG_NO_FORMATTING
291+
#ifndef UCONFIG_NO_FORMATTING
292292
UErrorCode status = U_ZERO_ERROR;
293293
const char *tzdata_ver = NULL;
294294
#endif
@@ -299,7 +299,7 @@ PHP_MINFO_FUNCTION( intl )
299299
#ifdef U_ICU_DATA_VERSION
300300
php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION );
301301
#endif
302-
#if !UCONFIG_NO_FORMATTING
302+
#ifndef UCONFIG_NO_FORMATTING
303303
tzdata_ver = ucal_getTZDataVersion(&status);
304304
if (U_ZERO_ERROR == status) {
305305
php_info_print_table_row( 2, "ICU TZData version", tzdata_ver);

0 commit comments

Comments
 (0)