From b34991c4c344832d92183a5cd9d7b591e99e74be Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 5 Mar 2013 16:07:32 -0600 Subject: [PATCH] Buildfix for real. --- Source/Core/Common/Src/MathUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/MathUtil.h b/Source/Core/Common/Src/MathUtil.h index ec9c9cc8a3..b4c73e6457 100644 --- a/Source/Core/Common/Src/MathUtil.h +++ b/Source/Core/Common/Src/MathUtil.h @@ -158,7 +158,7 @@ inline u64 Log2(u64 val) #if defined(__GNUC__) return 63 - __builtin_clzll(val); -#elif defined(_MSC_VER) +#elif defined(_MSC_VER) && defined(_M_X64) unsigned long result = -1; _BitScanReverse64(&result, val); return result;