Skip to content

Commit

Permalink
Merge pull request #4234 from MessyHack/dev
Browse files Browse the repository at this point in the history
[MSVC] Wrong define checked when building for 64bit with Visual Studio
  • Loading branch information
Cyan4973 authored Jan 14, 2025
2 parents 421f9c9 + 42d704a commit 92d1a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/bitstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ FORCE_INLINE_TEMPLATE size_t BIT_getMiddleBits(BitContainerType bitContainer, U3
* such cpus old (pre-Haswell, 2013) and their performance is not of that
* importance.
*/
#if defined(__x86_64__) || defined(_M_X86)
#if defined(__x86_64__) || defined(_M_X64)
return (bitContainer >> (start & regMask)) & ((((U64)1) << nbBits) - 1);
#else
return (bitContainer >> (start & regMask)) & BIT_mask[nbBits];
Expand Down

0 comments on commit 92d1a7d

Please sign in to comment.