summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-20 17:35:58 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-20 18:22:10 +0200
commitea8686540ac43e59dd3f8784e29a0c06e3446df2 (patch)
treeb4102f076ecbfeefe5cf8ffb8827a78a0559726a /ext/intl/php_intl.c
parent9cc24baa1ca87c7c3af4739388ad1b2e726dea80 (diff)
downloadphp-git-ea8686540ac43e59dd3f8784e29a0c06e3446df2.tar.gz
Fix [-Wundef] warning in INTL extension
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r--ext/intl/php_intl.c4
1 files changed, 2 insertions, 2 deletions
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);