summaryrefslogtreecommitdiff
path: root/main/php_compat.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-03-26 03:13:58 +0000
committerfoobar <sniper@php.net>2005-03-26 03:13:58 +0000
commita8b29a2e8f7bfb69b02af777cfcddbc98b24196c (patch)
tree5ae5cc73d621db1e79cec524a7594d9af96a8335 /main/php_compat.h
parent24eb2bfabc0b2ffa6a47a32250d869a6c62271c4 (diff)
downloadphp-git-a8b29a2e8f7bfb69b02af777cfcddbc98b24196c.tar.gz
- Made it possible to build ext/xmlrpc with libxml2
Diffstat (limited to 'main/php_compat.h')
-rw-r--r--main/php_compat.h2
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