]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42692: fix __builtin_available check on older compilers (GH-23873)
authorJoshua Root <jmr@macports.org>
Mon, 4 Jan 2021 10:36:58 +0000 (21:36 +1100)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 10:36:58 +0000 (02:36 -0800)
commitdf21f502fdccec234282bf0a211af979fd23def4
tree60af144fe8a558722a779bc8ed4ef06ca0dab876
parentb6fc0c406e6b4b86f59b1390142f35da0e364927
bpo-42692: fix __builtin_available check on older compilers (GH-23873)

A compiler that doesn't define `__has_builtin` will error out when it is
used on the same line as the check for it.

Automerge-Triggered-By: GH:ronaldoussoren
Misc/NEWS.d/next/Build/2021-01-04-05-07-30.bpo-42692.OO11SN.rst [new file with mode: 0644]
Modules/posixmodule.c