summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-01 20:32:29 -0700
committerGitHub <noreply@github.com>2018-11-01 20:32:29 -0700
commit2339fe7cad9a84815fe551fedd6acdc3f2bf0a64 (patch)
tree5720aaf36535abf5f9fe8c8f981b72af32176cde /Modules
parent49171877ddbbcb9b9a38b30e698ee9f8b826b297 (diff)
downloadcpython-git-2339fe7cad9a84815fe551fedd6acdc3f2bf0a64.tar.gz
closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289)
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 acf4433cfe..e469d5e4c8 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -368,7 +368,7 @@ _symtable symtablemodule.c
# 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