summaryrefslogtreecommitdiff
path: root/main/php_compat.h
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2001-01-10 14:42:23 +0000
committerRui Hirokawa <hirokawa@php.net>2001-01-10 14:42:23 +0000
commit0841703c32b803898c96c6fe7a1a67ff4e148e22 (patch)
treeb783b3920fb420ff73999611d18b1ca5228e7d9c /main/php_compat.h
parentc2881f7c6b016596b95834dda3e394832cca177b (diff)
downloadphp-git-0841703c32b803898c96c6fe7a1a67ff4e148e22.tar.gz
*** empty log message ***
Diffstat (limited to 'main/php_compat.h')
-rw-r--r--main/php_compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/php_compat.h b/main/php_compat.h
index c0726da009..116fedfe1b 100644
--- a/main/php_compat.h
+++ b/main/php_compat.h
@@ -24,6 +24,8 @@
#define hashTableDestroy php_hashTableDestroy
#define hashTableIterInit php_hashTableIterInit
#define hashTableIterNext php_hashTableIterNext
+
+#ifndef HAVE_LIBEXPAT2
#define XML_DefaultCurrent php_XML_DefaultCurrent
#define XML_ErrorString php_XML_ErrorString
#define XML_ExternalEntityParserCreate php_XML_ExternalEntityParserCreate
@@ -67,5 +69,6 @@
#define XmlUtf16Encode php_XmlUtf16Encode
#define XmlUtf8Encode php_XmlUtf8Encode
#define XmlPrologStateInit php_XmlPrologStateInit
+#endif
#endif