diff options
author | 2018-04-10 17:31:00 -0700 | |
---|---|---|
committer | 2018-04-10 17:31:00 -0700 | |
commit | e771f9ba84077c7cf11ab8bc34d7b00c098c4393 (patch) | |
tree | 4429aa6de93da6f637b2fde4fc2c53bc918bd99d /include | |
parent | 20019ceef3f97830d83996464bbab6b3c239a721 (diff) |
Add mising GPR_UNLIKELY definition
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/impl/codegen/port_platform.h | 1 |
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 |