Buildfix for real.
This commit is contained in:
parent
fe3a54d7fd
commit
b34991c4c3
|
@ -158,7 +158,7 @@ inline u64 Log2(u64 val)
|
|||
#if defined(__GNUC__)
|
||||
return 63 - __builtin_clzll(val);
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
#elif defined(_MSC_VER) && defined(_M_X64)
|
||||
unsigned long result = -1;
|
||||
_BitScanReverse64(&result, val);
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue