From e771f9ba84077c7cf11ab8bc34d7b00c098c4393 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Tue, 10 Apr 2018 17:31:00 -0700 Subject: Add mising GPR_UNLIKELY definition --- include/grpc/impl/codegen/port_platform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/grpc/impl/codegen/port_platform.h') diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h index 66e7a13bb9..bf1bf3df6a 100644 --- a/include/grpc/impl/codegen/port_platform.h +++ b/include/grpc/impl/codegen/port_platform.h @@ -508,6 +508,7 @@ typedef unsigned __int64 uint64_t; #define GPR_UNLIKELY(x) __builtin_expect((x), 0) #else /* __GNUC__ */ #define GPR_LIKELY(x) (x) +#define GPR_UNLIKELY(x) (x) #endif /* __GNUC__ */ #ifndef __STDC_FORMAT_MACROS -- cgit v1.2.3