From: George Peter Banyard Date: Wed, 20 May 2020 12:50:24 +0000 (+0200) Subject: Fix [-Wundef] warning in SimpleXML extension X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0794c77193e5c5e7f03d30b5b4910606bcd0ea1;p=php Fix [-Wundef] warning in SimpleXML extension --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 58a18d3c0d..0c5591b5b5 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -21,7 +21,7 @@ #endif #include "php.h" -#if HAVE_LIBXML && HAVE_SIMPLEXML +#if defined(HAVE_LIBXML) && defined(HAVE_SIMPLEXML) #include "php_ini.h" #include "ext/standard/info.h"