summaryrefslogtreecommitdiff
path: root/Modules/expat
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-03-14 18:10:37 -0700
committerGregory P. Smith <greg@krypto.org>2012-03-14 18:10:37 -0700
commit2522771e4707cea379510d3196d877c92408f6d3 (patch)
tree342e2d40ef045d0af1f1b3baa76301ec3bd20eaf /Modules/expat
parent4552b2eccce8333521895d5212e324feb1dcc776 (diff)
downloadcpython-git-2522771e4707cea379510d3196d877c92408f6d3.tar.gz
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have salted hash support.
Diffstat (limited to 'Modules/expat')
-rw-r--r--Modules/expat/expat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/expat/expat.h b/Modules/expat/expat.h
index cffdb8f629..89646d2bce 100644
--- a/Modules/expat/expat.h
+++ b/Modules/expat/expat.h
@@ -892,6 +892,8 @@ XMLPARSEAPI(int)
XML_SetHashSalt(XML_Parser parser,
unsigned long hash_salt);
+#define XML_HAS_SET_HASH_SALT /* Python Only: Defined for pyexpat.c. */
+
/* If XML_Parse or XML_ParseBuffer have returned XML_STATUS_ERROR, then
XML_GetErrorCode returns information about the error.
*/