aboutsummaryrefslogtreecommitdiffstats
path: root/xpointer.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-06-21 11:20:21 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-06-21 11:20:21 +0000
commit017b108fcf16dbce05ca7ebd75763f3d888abb5f (patch)
treee61dac65ab3b3481b384d07410aafddafc0c8bd2 /xpointer.c
parent87a764ed851c56eb6cf805c80ec96972224e6834 (diff)
downloadandroid_external_libxml2-017b108fcf16dbce05ca7ebd75763f3d888abb5f.tar.gz
android_external_libxml2-017b108fcf16dbce05ca7ebd75763f3d888abb5f.tar.bz2
android_external_libxml2-017b108fcf16dbce05ca7ebd75763f3d888abb5f.zip
- Makefile.am: cleanup when --without-debug is specified
- xinclude.c xpath.c xpathInternals.h xpointer.c: cleanup w.r.t. --without-debug and other include points - catalog.h testCatalog.c: a bit of cleanup and prepare for XML Catalogs - configure.in entities.h tree.h HTMLparser.c: removed --without-corba, made the _private field mandatory Daniel
Diffstat (limited to 'xpointer.c')
-rw-r--r--xpointer.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/xpointer.c b/xpointer.c
index 4a28b466..2a61003b 100644
--- a/xpointer.c
+++ b/xpointer.c
@@ -26,9 +26,6 @@
#include <libxml/uri.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
-#ifdef LIBXML_DEBUG_ENABLED
-#include <libxml/debugXML.h>
-#endif
#include <libxml/xmlerror.h>
#ifdef LIBXML_XPTR_ENABLED
@@ -37,6 +34,11 @@
#define XPTR_XMLNS_SCHEME
/* #define DEBUG_RANGES */
+#ifdef DEBUG_RANGES
+#ifdef LIBXML_DEBUG_ENABLED
+#include <libxml/debugXML.h>
+#endif
+#endif
#define TODO \
xmlGenericError(xmlGenericErrorContext, \