diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-03-15 01:12:23 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-03-15 01:12:23 (GMT) |
commit | c10f5c28281014bda8f335248cea47d8edd4015e (patch) | |
tree | 71f53a42638265878677243179b4cb9481bf81bd /Modules/expat | |
parent | c8ff46032f2290ef848aea9485d376dc156347bd (diff) | |
download | cpython-c10f5c28281014bda8f335248cea47d8edd4015e.zip cpython-c10f5c28281014bda8f335248cea47d8edd4015e.tar.gz cpython-c10f5c28281014bda8f335248cea47d8edd4015e.tar.bz2 |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/expat/expat.h b/Modules/expat/expat.h index cffdb8f..89646d2 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. */ |