summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-02-11 23:16:32 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-02-11 23:16:32 (GMT)
commit481f68aaa6a7206ad47ff368f2abfa4ddeabaa86 (patch)
treea204c7db1395112077d898a95bee6db7cbf73815 /Modules
parent1dbb1caf86abe5f9920b1f4719daba1c86ce6770 (diff)
downloadcpython-481f68aaa6a7206ad47ff368f2abfa4ddeabaa86.zip
cpython-481f68aaa6a7206ad47ff368f2abfa4ddeabaa86.tar.gz
cpython-481f68aaa6a7206ad47ff368f2abfa4ddeabaa86.tar.bz2
Disable usage of Expat's config.h.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/expat/xmlparse.c2
-rw-r--r--Modules/expat/xmlrole.c2
-rw-r--r--Modules/expat/xmltok.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c
index 7c6a801..c46b601 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 <config.h>
+#endif
#ifdef __declspec
# define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl
diff --git a/Modules/expat/xmlrole.c b/Modules/expat/xmlrole.c
index 20a1444..bdb50c6 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 <config.h>
+#endif
#endif /* ndef COMPILED_FROM_DSP */
#include "xmlrole.h"
diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c
index 8a4a363..46be9b0 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 <config.h>
+#endif
#endif /* ndef COMPILED_FROM_DSP */
#include "xmltok.h"