All: Fix typo, disabling __builtin_expect on MSVS
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Jun 2015 21:20:54 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/util/common.h
→
src/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