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 c30a053de9..19de6c739d 100644 --- a/main/php_compat.h +++ b/main/php_compat.h @@ -48,7 +48,7 @@ #define hashTableIterInit php_hashTableIterInit #define hashTableIterNext php_hashTableIterNext -#if defined(HAVE_LIBXML) && defined(HAVE_XML) +#if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT) #define XML_DefaultCurrent php_XML_DefaultCurrent #define XML_ErrorString php_XML_ErrorString #define XML_ExpatVersion php_XML_ExpatVersion |