expat/xmlwf xmlfile.c,1.12,1.13

"Fred L. Drake" <[email protected]> Wed, 15 Oct 2003 21:51:13 -0700
Newsgroups gmane.text.xml.expat.cvs
Message-ID <[email protected]>
Update of /cvsroot/expat/expat/xmlwf
In directory sc8-pr-cvs1:/tmp/cvs-serv1498/xmlwf

Modified Files:
	xmlfile.c 
Log Message:
Make it possible to avoid the import of expat_config.h.  This makes it
easier to compile Expat without the autoconf support.
This closes SF patch #458907.


Index: xmlfile.c
===================================================================
RCS file: /cvsroot/expat/expat/xmlwf/xmlfile.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- xmlfile.c	2 Aug 2002 19:40:09 -0000	1.12
+++ xmlfile.c	16 Oct 2003 04:51:11 -0000	1.13
@@ -10,7 +10,9 @@
 #ifdef COMPILED_FROM_DSP
 #include "winconfig.h"
 #else
+#ifdef HAVE_EXPAT_CONFIG_H
 #include "expat_config.h"
+#endif
 #endif
 #include "expat.h"
 #include "xmlfile.h"