]> granicus.if.org Git - python/commit
bpo-31374: Include pyconfig.h earlier in expat (GH-11064)
authorVictor Stinner <vstinner@redhat.com>
Mon, 10 Dec 2018 10:30:21 +0000 (11:30 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Dec 2018 10:30:21 +0000 (11:30 +0100)
commitcf247359d5b7082044eea1fa94b5211a172b1ff6
tree1d9dc8cfeb82a056c69569ab81aaf3c23a1d9e2b
parent2eb6ad8578fa9d764c21a92acd8e054e3202ad19
bpo-31374: Include pyconfig.h earlier in expat (GH-11064)

Include <pyconfig.h> ealier in Modules/expat/xmltok.c to define
properly _POSIX_C_SOURCE. Python defines _POSIX_C_SOURCE as 200809L,
whereas <features.h> (included indirectly by <string.h>) defines
_POSIX_C_SOURCE as 199506L.
Modules/expat/xmltok.c