diff options
| author | Sterling Hughes <sterling@php.net> | 2003-05-06 19:38:49 +0000 | 
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2003-05-06 19:38:49 +0000 | 
| commit | a0351b093f43f9c2be5b45d6e08542adb4de419a (patch) | |
| tree | c40e915b27205178d43cd88ee35cebf3d12e9eb1 /ext/xml/php_xml.h | |
| parent | 33a10b342ec8104133699e796fb77e9c55c8eb38 (diff) | |
| download | php-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.h | 10 | 
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) | 
