diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-04-19 21:59:03 +0800 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-05-03 22:33:10 +0300 |
commit | 8efb6ea63ba4353104add3cbf9fb76203142ea4c (patch) | |
tree | 3f7dccac3fa23af499e6cadf244049d1eee5f46d /tests/tests.h | |
parent | liblzma: Update project maintainers in lzma.h. (diff) | |
download | xz-8efb6ea63ba4353104add3cbf9fb76203142ea4c.tar.xz |
tuklib_integer: Use __builtin_clz() with Clang.
Clang has support for __builtin_clz(), but previously Clang would
fallback to either the MSVC intrinsic or the regular C code. This was
discovered due to a bug where a new version of Clang required the
<intrin.h> header file in order to use the MSVC intrinsics.
Thanks to Anton Kochkov for notifying us about the bug.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions