]> granicus.if.org Git - python/commitdiff
Disable usage of Expat's config.h.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 11 Feb 2002 23:16:32 +0000 (23:16 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 11 Feb 2002 23:16:32 +0000 (23:16 +0000)
Modules/expat/xmlparse.c
Modules/expat/xmlrole.c
Modules/expat/xmltok.c

index 7c6a8017eaf04764e4fe99c5e05001e26a875460..c46b6010baa3273238c7442d64c1d1805e2da0f7 100644 (file)
@@ -9,7 +9,9 @@ See the file COPYING for copying permission.
 #  include "expat.h"
 #  undef XMLPARSEAPI
 #else
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #ifdef __declspec
 #  define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl
index 20a14441550e193acb9f188b2fd43e25167655c9..bdb50c63176905ec0016014498a0e729d1e7fa22 100644 (file)
@@ -9,7 +9,9 @@ static char RCSId[]
 #ifdef COMPILED_FROM_DSP
 #  include "winconfig.h"
 #else
+#ifdef HAVE_CONFIG_H
 #  include <config.h>
+#endif
 #endif /* ndef COMPILED_FROM_DSP */
 
 #include "xmlrole.h"
index 8a4a363a74efb6e3140cffa65bf55db6d39249a3..46be9b0fe52d57c20de8156cab9cafeb97f75ecf 100644 (file)
@@ -6,7 +6,9 @@ See the file COPYING for copying permission.
 #ifdef COMPILED_FROM_DSP
 #  include "winconfig.h"
 #else
+#ifdef HAVE_CONFIG_H
 #  include <config.h>
+#endif
 #endif /* ndef COMPILED_FROM_DSP */
 
 #include "xmltok.h"