aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.generic
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-06-28 20:22:38 +0800
committerLasse Collin <lasse.collin@tukaani.org>2023-07-18 14:03:08 +0300
commit64ee0caaea06654b28afaee850fb187a11bf9cb2 (patch)
tree42f5c4e5604ce40d3cfc10cf0c8dc416f5a9a08b /INSTALL.generic
parentDocs: Add a new section to INSTALL for Tests. (diff)
downloadxz-64ee0caaea06654b28afaee850fb187a11bf9cb2.tar.xz
liblzma: Prevent warning for MSYS2 Windows build.
In lzma_memcmplen(), the <intrin.h> header file is only included if _MSC_VER and _M_X64 are both defined but _BitScanForward64() was previously used if _M_X64 was defined. GCC for MSYS2 defines _M_X64 but not _MSC_VER so _BitScanForward64() was used without including <intrin.h>. Now, lzma_memcmplen() will use __builtin_ctzll() for MSYS2 GCC builds as expected.
Diffstat (limited to 'INSTALL.generic')
0 files changed, 0 insertions, 0 deletions