summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-05-06 19:38:49 +0000
committerSterling Hughes <sterling@php.net>2003-05-06 19:38:49 +0000
commita0351b093f43f9c2be5b45d6e08542adb4de419a (patch)
treec40e915b27205178d43cd88ee35cebf3d12e9eb1 /ext/xml/php_xml.h
parent33a10b342ec8104133699e796fb77e9c55c8eb38 (diff)
downloadphp-git-a0351b093f43f9c2be5b45d6e08542adb4de419a.tar.gz
Bundle libxml and add compatibility layer
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r--ext/xml/php_xml.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h
index 7fef7c6070..ca77d3d224 100644
--- a/ext/xml/php_xml.h
+++ b/ext/xml/php_xml.h
@@ -22,20 +22,16 @@
#ifndef PHP_XML_H
#define PHP_XML_H
-#ifdef HAVE_LIBEXPAT
-
+#ifdef HAVE_XML
extern zend_module_entry xml_module_entry;
#define xml_module_ptr &xml_module_entry
-
#else
-
#define xml_module_ptr NULL
-
#endif
-#if defined(PHP_XML_INTERNAL)
+#ifdef HAVE_XML
-#include <expat.h>
+#include "ext/xml/expat_compat.h"
#ifdef PHP_WIN32
#define PHP_XML_API __declspec(dllexport)