Skip to content

Commit

Permalink
[3.6] bpo-29768: Fixed compile-time check for expat version. (#576)
Browse files Browse the repository at this point in the history
(cherry picked from commit 22e707f)
  • Loading branch information
serhiy-storchaka committed Mar 9, 2017
1 parent 51b646a commit 9cef253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/pyexpat.c
Expand Up @@ -1191,7 +1191,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. */
Expand Down

0 comments on commit 9cef253

Please sign in to comment.