summaryrefslogtreecommitdiff
path: root/doc/examples/reader3.c
diff options
context:
space:
mode:
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