diff options
Diffstat (limited to 'main/php_compat.h')
-rw-r--r-- | main/php_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_compat.h b/main/php_compat.h index b52cc92d5c..959ab82040 100644 --- a/main/php_compat.h +++ b/main/php_compat.h @@ -46,7 +46,7 @@ #define hashTableIterInit php_hashTableIterInit #define hashTableIterNext php_hashTableIterNext -#if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT) +#if defined(HAVE_LIBXML) && (defined(HAVE_XML) || defined(HAVE_XMLRPC)) && !defined(HAVE_LIBEXPAT) #define XML_DefaultCurrent php_XML_DefaultCurrent #define XML_ErrorString php_XML_ErrorString #define XML_ExpatVersion php_XML_ExpatVersion |