summaryrefslogtreecommitdiffstats
path: root/Modules/expat/winconfig.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-06-21 12:39:22 (GMT)
committerGitHub <noreply@github.com>2017-06-21 12:39:22 (GMT)
commit5ff7132313eb651107b179d20218dfe5d4e47f13 (patch)
treec75f190454b750d8b03fdf05d5ed5c0d621e499d /Modules/expat/winconfig.h
parentf3e8209152dffd201620c5b5936946a9250ac359 (diff)
downloadcpython-5ff7132313eb651107b179d20218dfe5d4e47f13.zip
cpython-5ff7132313eb651107b179d20218dfe5d4e47f13.tar.gz
cpython-5ff7132313eb651107b179d20218dfe5d4e47f13.tar.bz2
bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300)
New file: Modules/expat/siphash.h.
Diffstat (limited to 'Modules/expat/winconfig.h')
-rw-r--r--Modules/expat/winconfig.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/expat/winconfig.h b/Modules/expat/winconfig.h
index c1b791d..9bf014d 100644
--- a/Modules/expat/winconfig.h
+++ b/Modules/expat/winconfig.h
@@ -17,6 +17,12 @@
#include <memory.h>
#include <string.h>
+
+#if defined(HAVE_EXPAT_CONFIG_H) /* e.g. MinGW */
+# include <expat_config.h>
+#else /* !defined(HAVE_EXPAT_CONFIG_H) */
+
+
#define XML_NS 1
#define XML_DTD 1
#define XML_CONTEXT_BYTES 1024
@@ -27,4 +33,8 @@
/* Windows has memmove() available. */
#define HAVE_MEMMOVE
+
+#endif /* !defined(HAVE_EXPAT_CONFIG_H) */
+
+
#endif /* ndef WINCONFIG_H */