Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Buildfix for real.
  • Loading branch information
jordan-woyak committed Mar 5, 2013
1 parent fe3a54d commit b34991c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/Src/MathUtil.h
Expand Up @@ -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;
Expand Down

0 comments on commit b34991c

Please sign in to comment.