diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-13 15:38:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 15:38:06 (GMT) |
commit | ec306a2fd91d8b961b2a80c080dd2262bb17d862 (patch) | |
tree | 387d962187a1ff3af61a363f294cd2e5f5f01788 /Python/pylifecycle.c | |
parent | e5729aef6ff67ae7ed05dffc0855477823826191 (diff) | |
download | cpython-ec306a2fd91d8b961b2a80c080dd2262bb17d862.zip cpython-ec306a2fd91d8b961b2a80c080dd2262bb17d862.tar.gz cpython-ec306a2fd91d8b961b2a80c080dd2262bb17d862.tar.bz2 |
bpo-41617: Add _Py__has_builtin() macro (GH-23260) (GH-23262)
Fix building pycore_bitutils.h internal header on old clang version
without __builtin_bswap16() (ex: Xcode 4.6.3 on Mac OS X 10.7).
Add a new private _Py__has_builtin() macro to check for availability
of a preprocessor builtin function.
Co-Authored-By: Joshua Root <jmr@macports.org>
Co-authored-by: Joshua Root <jmr@macports.org>
(cherry picked from commit b3b98082c5431e77c64cab2c85525a804436b505)
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions