Common: Remove unnecessary define check in Log2

This commit is contained in:
lioncash 2014-09-03 13:04:48 -04:00
parent b583879c2a
commit f69e6ef16f

View File

@ -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;