mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Bundle libxml and add compatibility layer
This commit is contained in:
parent
33a10b342e
commit
a0351b093f
92 changed files with 117831 additions and 41 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue