summaryrefslogtreecommitdiff
path: root/ext/dom/domlocator.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-08-22 15:04:29 +0000
committerWez Furlong <wez@php.net>2003-08-22 15:04:29 +0000
commit21329c5e0ca7040333daada9afa89712f553dc04 (patch)
tree0d3eda0faf269143a361eec23f45fe976664b273 /ext/dom/domlocator.c
parentc29e30d3afd5670d8793de1dd52982a7f41c1e59 (diff)
downloadphp-git-21329c5e0ca7040333daada9afa89712f553dc04.tar.gz
allow building without libxml2 under win32
Diffstat (limited to 'ext/dom/domlocator.c')
-rw-r--r--ext/dom/domlocator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dom/domlocator.c b/ext/dom/domlocator.c
index 8c33855b6c..1981549d3d 100644
--- a/ext/dom/domlocator.c
+++ b/ext/dom/domlocator.c
@@ -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