]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-31374: Include pyconfig.h earlier in expat (GH-11078)
authorVictor Stinner <vstinner@redhat.com>
Mon, 10 Dec 2018 15:01:03 +0000 (16:01 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Dec 2018 15:01:03 +0000 (16:01 +0100)
commit2632df4c3f48f23af85a60bffc61030d52e83ee2
tree31d3f708c3d601d59e97d7205199b7fbb8d11dd8
parent1fd93ff18cf5cc324c743564ea2347bef06c0de0
[2.7] bpo-31374: Include pyconfig.h earlier in expat (GH-11078)

Include <pyconfig.h> ealier in Modules/expat/xmlparse.c to define
properly _POSIX_C_SOURCE and _XOPEN_SOURCE.
Modules/expat/xmlparse.c
Modules/expat/xmltok.c