summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-03 13:18:50 -0400
committerLioncash <mathew1800@gmail.com>2014-09-03 13:18:50 -0400
commita9ea09183fc990faecaa25ec8d7e54b875e5b968 (patch)
treebf5321cbc9926ee181ee5ce5429867361ef69399 /Source/Core
parentb583879c2a5b705df1bd7e4ad4450c2d6439be78 (diff)
parentf69e6ef16f1d27059e524a537f0b685081091b97 (diff)
Merge pull request #956 from lioncash/preproc-stuff
Common: Remove unnecessary define check in Log2
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/MathUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/MathUtil.h b/Source/Core/Common/MathUtil.h
index db35cbedcf..08aba6f21c 100644
--- a/Source/Core/Common/MathUtil.h
+++ b/Source/Core/Common/MathUtil.h
@@ -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;