summaryrefslogtreecommitdiffstats
path: root/Python/future.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-12-10 11:35:18 (GMT)
committerGitHub <noreply@github.com>2018-12-10 11:35:18 (GMT)
commit7215e4857123afa8577f63c1024bcd1889a96305 (patch)
tree221504488b80ae08fdff742641b53c6b39f57b86 /Python/future.c
parentbad41cefef6625807198a813d9dec2c08d59dc60 (diff)
downloadcpython-7215e4857123afa8577f63c1024bcd1889a96305.zip
cpython-7215e4857123afa8577f63c1024bcd1889a96305.tar.gz
cpython-7215e4857123afa8577f63c1024bcd1889a96305.tar.bz2
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. (cherry picked from commit cf247359d5b7082044eea1fa94b5211a172b1ff6) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions