summaryrefslogtreecommitdiff
path: root/include/libxml/SAX.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/SAX.h')
-rw-r--r--include/libxml/SAX.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libxml/SAX.h b/include/libxml/SAX.h
index a305b69..91b3fbc 100644
--- a/include/libxml/SAX.h
+++ b/include/libxml/SAX.h
@@ -18,6 +18,8 @@
#include <libxml/parser.h>
#include <libxml/xlink.h>
+#ifdef LIBXML_SAX1_ENABLED
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -162,4 +164,7 @@ XMLPUBFUN void XMLCALL
#ifdef __cplusplus
}
#endif
+
+#endif /* LIBXML_SAX1_ENABLED */
+
#endif /* __XML_SAX_H__ */