Merge pull request #956 from lioncash/preproc-stuff
Common: Remove unnecessary define check in Log2
This commit is contained in:
commit
a9ea09183f
|
@ -180,7 +180,7 @@ inline int Log2(u64 val)
|
|||
#if defined(__GNUC__)
|
||||
return 63 - __builtin_clzll(val);
|
||||
|
||||
#elif defined(_MSC_VER) && _ARCH_64
|
||||
#elif defined(_MSC_VER)
|
||||
unsigned long result = -1;
|
||||
_BitScanReverse64(&result, val);
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue