gstein 01/02/28 07:14:50
Modified: xml apr_xml.c
Log:
enable building against old/new expats
Revision Changes Path
1.18 +6 -3 apr-util/xml/apr_xml.c
Index: apr_xml.c
===================================================================
RCS file: /home/cvs/apr-util/xml/apr_xml.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -u -r1.17 -r1.18
--- apr_xml.c 2001/02/18 12:30:42 1.17
+++ apr_xml.c 2001/02/28 15:14:50 1.18
@@ -52,9 +52,6 @@
* <http://www.apache.org/>.
*/
-/* James Clark's Expat parser */
-#include "xmlparse.h"
-
#include "apr.h"
#include "apr_strings.h"
@@ -63,7 +60,13 @@
#include "apr_want.h"
#include "apr_xml.h"
+#include "apu_config.h"
+#ifdef APR_HAVE_OLD_EXPAT
+#include "xmlparse.h"
+#else
+#include "expat.h"
+#endif
#define DEBUG_CR "\r\n"