summaryrefslogtreecommitdiff
path: root/Modules/Setup
diff options
context:
space:
mode:
authorMax BĂ©langer <aeromax@gmail.com>2018-11-01 19:49:46 -0700
committerBenjamin Peterson <benjamin@python.org>2018-11-01 19:49:46 -0700
commit318ab63c01f5b8e7562b122ab5ba01258a51277b (patch)
treecb35c99e2c5db9b7b663df9f1c6bddc1fc91f0e2 /Modules/Setup
parentdce345c51abd5081679a487315fb47efddc54cdb (diff)
downloadcpython-git-318ab63c01f5b8e7562b122ab5ba01258a51277b.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.
Diffstat (limited to 'Modules/Setup')
-rw-r--r--Modules/Setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Setup b/Modules/Setup
index c1804630b9..e2b5f86f38 100644
--- a/Modules/Setup
+++ b/Modules/Setup
@@ -336,7 +336,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