diff options
Diffstat (limited to 'testSAX.c')
-rw-r--r-- | testSAX.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -8,6 +8,7 @@ #include "libxml.h" +#ifdef LIBXML_SAX1_ENABLED #include <string.h> #include <stdarg.h> @@ -973,3 +974,9 @@ int main(int argc, char **argv) { return(0); } +#else +int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { + printf("%s : SAX1 parsing support not compiled in\n", argv[0]); + return(0); +} +#endif /* LIBXML_SAX1_ENABLED */ |