summaryrefslogtreecommitdiff
path: root/main/php_compat.h
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-12-05 10:11:06 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-12-05 10:11:06 +0000
commit50dad38cd4a97a54b354b7b16a9984a04b792d6e (patch)
tree269f3794e0cc47e6765ea796755754f382a16548 /main/php_compat.h
parentf9470dafe0133ce275491682b224244d8f264c4a (diff)
downloadphp-git-50dad38cd4a97a54b354b7b16a9984a04b792d6e.tar.gz
Fix libexpat build.
Improve replaceEntities patch.
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 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