]> granicus.if.org Git - php/commitdiff
Fix [-Wundef] warning in Filter extension
authorGeorge Peter Banyard <girgias@php.net>
Tue, 12 May 2020 21:04:56 +0000 (23:04 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Sat, 16 May 2020 13:31:16 +0000 (15:31 +0200)
ext/exif/php_exif.h
ext/filter/logical_filters.c

index 2ffdb6a8a27ba7607901e991e7cf223277bb0a37..466b02645fac15f0edbc953657b1419f4d67dc89 100644 (file)
@@ -15,7 +15,7 @@
    +----------------------------------------------------------------------+
  */
 
-#if HAVE_EXIF
+#ifdef HAVE_EXIF
 
 #include "php_version.h"
 #define PHP_EXIF_VERSION PHP_VERSION
index 79a0e9d9abe8b1bc049ca3e5c4dde9f4e742a51a..76b0b977b37e7a7a01b1ee6e82ff78ee915498c3 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "zend_multiply.h"
 
-#if HAVE_ARPA_INET_H
+#ifdef HAVE_ARPA_INET_H
 # include <arpa/inet.h>
 #endif