Merge pull request #4234 from MessyHack/dev
[MSVC] Wrong define checked when building for 64bit with Visual Studio
This commit is contained in:
@@ -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
|
* such cpus old (pre-Haswell, 2013) and their performance is not of that
|
||||||
* importance.
|
* importance.
|
||||||
*/
|
*/
|
||||||
#if defined(__x86_64__) || defined(_M_X86)
|
#if defined(__x86_64__) || defined(_M_X64)
|
||||||
return (bitContainer >> (start & regMask)) & ((((U64)1) << nbBits) - 1);
|
return (bitContainer >> (start & regMask)) & ((((U64)1) << nbBits) - 1);
|
||||||
#else
|
#else
|
||||||
return (bitContainer >> (start & regMask)) & BIT_mask[nbBits];
|
return (bitContainer >> (start & regMask)) & BIT_mask[nbBits];
|
||||||
|
|||||||
Reference in New Issue
Block a user