From ea8686540ac43e59dd3f8784e29a0c06e3446df2 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Wed, 20 May 2020 17:35:58 +0200 Subject: Fix [-Wundef] warning in INTL extension --- ext/intl/php_intl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/intl/php_intl.c') diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index be2ed2718e..c4f334ea51 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -288,7 +288,7 @@ PHP_RSHUTDOWN_FUNCTION( intl ) */ PHP_MINFO_FUNCTION( intl ) { -#if !UCONFIG_NO_FORMATTING +#ifndef UCONFIG_NO_FORMATTING UErrorCode status = U_ZERO_ERROR; const char *tzdata_ver = NULL; #endif @@ -299,7 +299,7 @@ PHP_MINFO_FUNCTION( intl ) #ifdef U_ICU_DATA_VERSION php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION ); #endif -#if !UCONFIG_NO_FORMATTING +#ifndef UCONFIG_NO_FORMATTING tzdata_ver = ucal_getTZDataVersion(&status); if (U_ZERO_ERROR == status) { php_info_print_table_row( 2, "ICU TZData version", tzdata_ver); -- cgit v1.2.1