Merge pull request #956 from lioncash/preproc-stuff

Common: Remove unnecessary define check in Log2
This commit is contained in:
Lioncash 2014-09-03 13:18:50 -04:00
commit a9ea09183f
1 changed files with 1 additions and 1 deletions

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;