summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-07-10 22:30:30 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-07-10 22:30:30 +0000
commit78dfc9f0714e98121b2fe668b88698df8824d575 (patch)
tree2f9f6746ac4f8b16d860ffd011b1a0527c233450 /xmllint.c
parent1f33c4d61f3cc9820643ef726b373ec3044bcac3 (diff)
downloadlibxml2-78dfc9f0714e98121b2fe668b88698df8824d575.tar.gz
preparing release 2.6.20 removed a compilation problem Daniel
* Makefile.am NEWS configure.in doc/*: preparing release 2.6.20 * xmllint.c: removed a compilation problem Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmllint.c b/xmllint.c
index 001e6e88..0cbc3d19 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -1607,8 +1607,10 @@ testSAX(const char *filename) {
if (noout) {
handler = emptySAXHandler;
+#ifdef LIBXML_SAX1_ENABLED
} else if (sax1) {
handler = debugSAXHandler;
+#endif
} else {
handler = debugSAX2Handler;
}