From c0909c871301e56b044cd6205f291d5e86f92bae Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 7 Jun 2015 21:20:54 -0700 Subject: [PATCH] All: Fix typo, disabling __builtin_expect on MSVS --- src/util/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/common.h b/src/util/common.h index be94c28e5..d6cc1b827 100644 --- a/src/util/common.h +++ b/src/util/common.h @@ -114,7 +114,7 @@ typedef int32_t ssize_t; #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