]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42692: fix __builtin_available check on older compilers (GH-23873) (GH-24090)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Jan 2021 11:00:43 +0000 (03:00 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 11:00:43 +0000 (06:00 -0500)
commiteedeaef1f22d27264ce9b031da80fe2485e85e69
tree19a9ae32270df4fc0377144577ed89dbaba909d6
parent76489dd2998ac70ffb300d612792a7238c03438c
bpo-42692: fix __builtin_available check on older compilers (GH-23873) (GH-24090)

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
(cherry picked from commit df21f502fdccec234282bf0a211af979fd23def4)

Co-authored-by: Joshua Root <jmr@macports.org>
Misc/NEWS.d/next/Build/2021-01-04-05-07-30.bpo-42692.OO11SN.rst [new file with mode: 0644]
Modules/posixmodule.c