summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-11-01 20:28:34 -0700
committerGitHub <noreply@github.com>2018-11-01 20:28:34 -0700
commita614cc92088c4e1b2d90aa03415ee6acf70f03b4 (patch)
treed551aa96406a338e4595663c8a31455e5114cec8 /Modules
parentaa39c1ab6de6d3fb0204741efdde9b7eed25b093 (diff)
downloadcpython-git-a614cc92088c4e1b2d90aa03415ee6acf70f03b4.tar.gz
[2.7] closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10293)
This could cause compile errors on macOS or other platforms.. (cherry picked from commit 318ab63c01f5b8e7562b122ab5ba01258a51277b) Co-authored-by: Max BĂ©langer <aeromax@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Setup.dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index bd8b52e1de..bbc9222129 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -469,7 +469,7 @@ GLHACK=-Dclear=__GLclear
# Interface to the Expat XML parser
# More information on Expat can be found at www.libexpat.org.
#
-#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI
+#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI
# Hye-Shik Chang's CJKCodecs