mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix includes for separate builds for ext/dom (#14752)
* Update include declaration in Dom css selectors
May fix 88da914910 (r143708340)
* Remove pointless guards
* Fix Windows build
* Use relative path
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
#include <php.h>
|
||||
|
||||
#include "lexbor/selectors-adapted/selectors.h"
|
||||
#include "ext/dom/namespace_compat.h"
|
||||
#include "ext/dom/domexception.h"
|
||||
#include "ext/dom/php_dom.h"
|
||||
#include "../../../namespace_compat.h"
|
||||
#include "../../../domexception.h"
|
||||
#include "../../../php_dom.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#ifndef PHP_DOM_XPATH_CALLBACKS_H
|
||||
#define PHP_DOM_XPATH_CALLBACKS_H
|
||||
|
||||
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
|
||||
|
||||
#include <libxml/xpathInternals.h>
|
||||
#include "xml_common.h"
|
||||
|
||||
@@ -65,4 +63,3 @@ PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_php_ns(php_dom_xpath_cal
|
||||
PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_custom_ns(php_dom_xpath_callbacks *xpath_callbacks, xmlXPathParserContextPtr ctxt, int num_args, php_dom_xpath_nodeset_evaluation_mode evaluation_mode, dom_object *intern, php_dom_xpath_callbacks_proxy_factory proxy_factory);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user