diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-04-19 22:22:16 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-04-25 20:19:32 +0800 |
commit | 9e343a46cf87a345799222c0b0b3a6f3358dde0c (patch) | |
tree | fa3e77149bb1fe2dec3d624f508bc555999cead0 /tests | |
parent | tuklib_integer: Use __builtin_clz() with Clang. (diff) | |
download | xz-9e343a46cf87a345799222c0b0b3a6f3358dde0c.tar.xz |
Windows: Include <intrin.h> when needed.
Legacy Windows did not need to #include <intrin.h> to use the MSVC
intrinsics. Newer versions likely just issue a warning, but the MSVC
documentation says to include the header file for the intrinsics we use.
GCC and Clang can "pretend" to be MSVC on Windows, so extra checks are
needed in tuklib_integer.h to only include <intrin.h> when it will is
actually needed.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions