From: George Peter Banyard Date: Tue, 12 May 2020 21:04:56 +0000 (+0200) Subject: Fix [-Wundef] warning in Filter extension X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb5114c675be31e26df823fbf2d678c3035ce3aa;p=php Fix [-Wundef] warning in Filter extension --- diff --git a/ext/exif/php_exif.h b/ext/exif/php_exif.h index 2ffdb6a8a2..466b02645f 100644 --- a/ext/exif/php_exif.h +++ b/ext/exif/php_exif.h @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ */ -#if HAVE_EXIF +#ifdef HAVE_EXIF #include "php_version.h" #define PHP_EXIF_VERSION PHP_VERSION diff --git a/ext/filter/logical_filters.c b/ext/filter/logical_filters.c index 79a0e9d9ab..76b0b977b3 100644 --- a/ext/filter/logical_filters.c +++ b/ext/filter/logical_filters.c @@ -23,7 +23,7 @@ #include "zend_multiply.h" -#if HAVE_ARPA_INET_H +#ifdef HAVE_ARPA_INET_H # include #endif