From a0351b093f43f9c2be5b45d6e08542adb4de419a Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Tue, 6 May 2003 19:38:49 +0000 Subject: Bundle libxml and add compatibility layer --- ext/xml/php_xml.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ext/xml/php_xml.h') 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 +#include "ext/xml/expat_compat.h" #ifdef PHP_WIN32 #define PHP_XML_API __declspec(dllexport) -- cgit v1.2.1