all repos — mgba @ c0909c871301e56b044cd6205f291d5e86f92bae

mGBA Game Boy Advance Emulator

All: Fix typo, disabling __builtin_expect on MSVS
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Jun 2015 21:20:54 -0700
commit

c0909c871301e56b044cd6205f291d5e86f92bae

parent

1a4ed6fe5e3c35d2fb8d6df95ec2dcb80ee53b96

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/util/common.hsrc/util/common.h

@@ -114,7 +114,7 @@ }

#define DECL_BIT(TYPE, FIELD, BIT) DECL_BITS(TYPE, FIELD, BIT, 1) -#ifdef _MSC_VER +#ifndef _MSC_VER #define LIKELY(X) __builtin_expect(!!(X), 1) #define UNLIKELY(X) __builtin_expect(!!(X), 0) #else