From: Martin v. Löwis Date: Mon, 11 Feb 2002 23:16:32 +0000 (+0000) Subject: Disable usage of Expat's config.h. X-Git-Tag: v2.3c1~6686 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=481f68aaa6a7206ad47ff368f2abfa4ddeabaa86;p=python Disable usage of Expat's config.h. --- diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c index 7c6a8017ea..c46b6010ba 100644 --- a/Modules/expat/xmlparse.c +++ b/Modules/expat/xmlparse.c @@ -9,7 +9,9 @@ See the file COPYING for copying permission. # include "expat.h" # undef XMLPARSEAPI #else +#ifdef HAVE_CONFIG_H #include +#endif #ifdef __declspec # define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl diff --git a/Modules/expat/xmlrole.c b/Modules/expat/xmlrole.c index 20a1444155..bdb50c6317 100644 --- a/Modules/expat/xmlrole.c +++ b/Modules/expat/xmlrole.c @@ -9,7 +9,9 @@ static char RCSId[] #ifdef COMPILED_FROM_DSP # include "winconfig.h" #else +#ifdef HAVE_CONFIG_H # include +#endif #endif /* ndef COMPILED_FROM_DSP */ #include "xmlrole.h" diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c index 8a4a363a74..46be9b0fe5 100644 --- a/Modules/expat/xmltok.c +++ b/Modules/expat/xmltok.c @@ -6,7 +6,9 @@ See the file COPYING for copying permission. #ifdef COMPILED_FROM_DSP # include "winconfig.h" #else +#ifdef HAVE_CONFIG_H # include +#endif #endif /* ndef COMPILED_FROM_DSP */ #include "xmltok.h"