diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-13 14:38:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 14:38:17 (GMT) |
commit | b3b98082c5431e77c64cab2c85525a804436b505 (patch) | |
tree | 5ef06418d69d6515b65e049e96e92ea5aadee0ea /Misc/NEWS.d | |
parent | d96a7a83133250377219227b5cfab4dbdddc5d3a (diff) | |
download | cpython-b3b98082c5431e77c64cab2c85525a804436b505.zip cpython-b3b98082c5431e77c64cab2c85525a804436b505.tar.gz cpython-b3b98082c5431e77c64cab2c85525a804436b505.tar.bz2 |
bpo-41617: Add _Py__has_builtin() macro (GH-23260)
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Build/2020-11-13-15-04-53.bpo-41617.98_oaE.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2020-11-13-15-04-53.bpo-41617.98_oaE.rst b/Misc/NEWS.d/next/Build/2020-11-13-15-04-53.bpo-41617.98_oaE.rst new file mode 100644 index 0000000..a5f35b2 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2020-11-13-15-04-53.bpo-41617.98_oaE.rst @@ -0,0 +1,3 @@ +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). Patch by +Joshua Root and Victor Stinner. |