From f69e6ef16f1d27059e524a537f0b685081091b97 Mon Sep 17 00:00:00 2001 From: lioncash Date: Wed, 3 Sep 2014 13:04:48 -0400 Subject: [PATCH] Common: Remove unnecessary define check in Log2 --- Source/Core/Common/MathUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;