aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/impl/codegen/port_platform.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-04-10 17:31:00 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-04-10 17:31:00 -0700
commite771f9ba84077c7cf11ab8bc34d7b00c098c4393 (patch)
tree4429aa6de93da6f637b2fde4fc2c53bc918bd99d /include/grpc/impl/codegen/port_platform.h
parent20019ceef3f97830d83996464bbab6b3c239a721 (diff)
Add mising GPR_UNLIKELY definition
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-rw-r--r--include/grpc/impl/codegen/port_platform.h1
1 files changed, 1 insertions, 0 deletions
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