allow building without libxml2 under win32

This commit is contained in:
Wez Furlong 2003-08-22 15:04:29 +00:00
parent c29e30d3af
commit 21329c5e0c
33 changed files with 72 additions and 8 deletions

View File

@ -24,6 +24,9 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -232,3 +235,5 @@ PHP_FUNCTION(dom_attr_is_id)
}
}
/* }}} end dom_attr_is_id */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -71,3 +72,5 @@ PHP_FUNCTION(dom_cdatasection_cdatasection)
}
}
/* }}} end dom_cdatasection_cdatasection */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -363,3 +364,4 @@ PHP_FUNCTION(dom_characterdata_replace_data)
RETURN_TRUE;
}
/* }}} end dom_characterdata_replace_data */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -70,3 +71,4 @@ PHP_FUNCTION(dom_comment_comment)
}
}
/* }}} end dom_comment_comment */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
typedef struct _idsIterator idsIterator;
@ -1273,3 +1274,4 @@ PHP_FUNCTION(dom_document_savexml)
}
}
/* }}} end dom_document_savexml */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -64,3 +65,4 @@ PHP_FUNCTION(dom_documentfragment_documentfragment)
}
}
/* }}} end dom_documentfragment_documentfragment */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
typedef struct _nodeIterator nodeIterator;
@ -290,4 +291,4 @@ int dom_documenttype_internal_subset_read(dom_object *obj, zval **retval TSRMLS_
/* }}} */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -75,3 +76,4 @@ PHP_FUNCTION(dom_domconfiguration_can_set_parameter)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_domconfiguration_can_set_parameter */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -134,4 +135,4 @@ int dom_domerror_location_read(dom_object *obj, zval **retval TSRMLS_DC)
/* }}} */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -51,3 +52,4 @@ PHP_FUNCTION(dom_domerrorhandler_handle_error)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_domerrorhandler_handle_error */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -110,3 +111,4 @@ void php_dom_throw_error(int error_code, zval **retval TSRMLS_DC)
EG(exception) = dom_exception;
}
/* }}} end php_dom_throw_error */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
/*
@ -235,3 +236,4 @@ PHP_FUNCTION(dom_domimplementation_get_feature)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_domimplementation_get_feature */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -67,3 +68,4 @@ PHP_FUNCTION(dom_domimplementationlist_item)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_domimplementationlist_item */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -63,3 +64,4 @@ PHP_FUNCTION(dom_domimplementationsource_get_domimplementations)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_domimplementationsource_get_domimplementations */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -119,3 +120,4 @@ int dom_domlocator_uri_read(dom_object *obj, zval **retval TSRMLS_DC)
/* }}} */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -67,3 +68,4 @@ PHP_FUNCTION(dom_domstringlist_item)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_domstringlist_item */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -834,3 +835,5 @@ PHP_FUNCTION(dom_element_set_id_attribute_node)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_element_set_id_attribute_node */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -179,4 +180,4 @@ int dom_entity_version_write(dom_object *obj, zval *newval TSRMLS_DC)
/* }}} */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -76,3 +77,4 @@ PHP_FUNCTION(dom_entityreference_entityreference)
}
/* }}} end dom_entityreference_entityreference */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -139,3 +140,4 @@ PHP_FUNCTION(dom_namednodemap_remove_named_item_ns)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_namednodemap_remove_named_item_ns */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -79,3 +80,4 @@ PHP_FUNCTION(dom_namelist_get_namespace_uri)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_namelist_get_namespace_uri */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -1398,3 +1399,4 @@ PHP_FUNCTION(dom_node_get_user_data)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_node_get_user_data */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -67,3 +68,4 @@ PHP_FUNCTION(dom_nodelist_item)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_nodelist_item */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -86,4 +87,4 @@ int dom_notation_system_id_read(dom_object *obj, zval **retval TSRMLS_DC)
/* }}} */
#endif

View File

@ -25,13 +25,12 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "ext/standard/php_rand.h"
#include "php_dom.h"
#include "dom_ce.h"
#include "dom_properties.h"
#if HAVE_DOM
#include "ext/standard/info.h"
#define PHP_XPATH 1
#define PHP_XPTR 2

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -135,4 +136,4 @@ int dom_processinginstruction_data_write(dom_object *obj, zval *newval TSRMLS_DC
/* }}} */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -63,3 +64,4 @@ PHP_FUNCTION(dom_string_extend_find_offset32)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_string_extend_find_offset32 */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
#include "dom_ce.h"
@ -188,3 +189,4 @@ PHP_FUNCTION(dom_text_replace_whole_text)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_text_replace_whole_text */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -70,4 +71,4 @@ int dom_typeinfo_type_namespace_read(dom_object *obj, zval **retval TSRMLS_DC)
/* }}} */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -51,3 +52,4 @@ PHP_FUNCTION(dom_userdatahandler_handle)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_userdatahandler_handle */
#endif

View File

@ -24,6 +24,7 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@ -165,3 +166,4 @@ PHP_FUNCTION(dom_xpath_query)
#endif /* LIBXML_XPATH_ENABLED */
/* }}} */
#endif

View File

@ -23,6 +23,8 @@
#endif
#include "php.h"
#if HAVE_LIBXML && HAVE_SIMPLEXML
#include "php_ini.h"
#include "ext/standard/info.h"
#include "php_simplexml.h"
@ -1071,6 +1073,8 @@ PHP_MINFO_FUNCTION(simplexml)
}
/* }}} */
#endif
/**
* Local Variables:
* c-basic-offset: 4

View File

@ -17,6 +17,7 @@
*/
#include "php.h"
#if HAVE_LIBXML && HAVE_XML
#include "expat_compat.h"
#ifdef LIBXML_EXPAT_COMPAT
@ -555,6 +556,7 @@ XML_ParserFree(XML_Parser parser)
}
#endif /* LIBXML_EXPAT_COMPAT */
#endif
/**
* Local Variables: