mirror of
https://github.com/python/cpython.git
synced 2025-10-03 21:55:41 +00:00
(cherry picked from commit 22e707fa04
)
This commit is contained in:
parent
0410bee6e6
commit
952b7cb780
1 changed files with 1 additions and 1 deletions
|
@ -1190,7 +1190,7 @@ newxmlparseobject(const char *encoding, const char *namespace_separator, PyObjec
|
|||
Py_DECREF(self);
|
||||
return NULL;
|
||||
}
|
||||
#if ((XML_MAJOR_VERSION >= 2) && (XML_MINOR_VERSION >= 1)) || defined(XML_HAS_SET_HASH_SALT)
|
||||
#if XML_COMBINED_VERSION >= 20100 || defined(XML_HAS_SET_HASH_SALT)
|
||||
/* This feature was added upstream in libexpat 2.1.0. Our expat copy
|
||||
* has a backport of this feature where we also define XML_HAS_SET_HASH_SALT
|
||||
* to indicate that we can still use it. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue