summaryrefslogtreecommitdiff
path: root/doc/examples/reader3.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2009-03-01 10:53:23 +0100
committerMike Hommey <glandium@debian.org>2009-03-01 10:53:23 +0100
commitd03a853bb0370d89552eceee59df1746da4a37f8 (patch)
tree441802d52ac5c0a2b6929e6dd5d8a58210b0fe3a /doc/examples/reader3.c
parent88f9c7ca80bfbc9a5429fc632b90d6c4a2a2787d (diff)
downloadlibxml2-d03a853bb0370d89552eceee59df1746da4a37f8.tar.gz
Import upstream version 2.7.0upstream/2.7.0.dfsg
Diffstat (limited to 'doc/examples/reader3.c')
-rw-r--r--doc/examples/reader3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/examples/reader3.c b/doc/examples/reader3.c
index acbff4f..51f9d3b 100644
--- a/doc/examples/reader3.c
+++ b/doc/examples/reader3.c
@@ -15,7 +15,8 @@
#include <stdio.h>
#include <libxml/xmlreader.h>
-#if defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED)
+#if defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED) && defined(LIBXML_OUTPUT_ENABLED)
+
/**
* streamFile:
@@ -113,7 +114,7 @@ int main(int argc, char **argv) {
#else
int main(void) {
- fprintf(stderr, "Reader or Pattern support not compiled in\n");
+ fprintf(stderr, "Reader, Pattern or output support not compiled in\n");
exit(1);
}
#endif