summaryrefslogtreecommitdiff
path: root/xml/apr_xml_expat.c
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2011-03-25 12:42:53 +0000
committerNick Kew <niq@apache.org>2011-03-25 12:42:53 +0000
commit886b9083bab5e915aa7f2f357bcc40229fc1ac58 (patch)
treed843108f6cba039c69ccaa7068f3e86e4787c053 /xml/apr_xml_expat.c
parentc958f1b7c7ba0516227047e0fde0888dc31842c3 (diff)
downloadapr-886b9083bab5e915aa7f2f357bcc40229fc1ac58.tar.gz
Support selection of libxml2 vs expat in autoconf build.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1085350 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'xml/apr_xml_expat.c')
-rw-r--r--xml/apr_xml_expat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xml/apr_xml_expat.c b/xml/apr_xml_expat.c
index 239ebe504..ed7571bdc 100644
--- a/xml/apr_xml_expat.c
+++ b/xml/apr_xml_expat.c
@@ -15,6 +15,8 @@
*/
#include "apr.h"
+
+#if APU_USE_EXPAT
#include "apr_xml.h"
#if defined(HAVE_XMLPARSE_XMLPARSE_H)
@@ -132,3 +134,4 @@ APR_DECLARE(apr_xml_parser *) apr_xml_parser_create_ex(apr_pool_t *pool,
return parser;
}
+#endif