commit | d6aca049475af23393eec4157b298d9270e6ad17 | [log] [tgz] |
---|---|---|
author | Yash Tibrewal <yashkt@google.com> | Mon Sep 25 10:53:03 2017 -0700 |
committer | Yash Tibrewal <yashkt@google.com> | Mon Oct 02 16:29:41 2017 -0700 |
tree | 90624445357c90abb1835a19543a33a142277599 | |
parent | fb44fada4e0bf7c06614902090b35d37f730d3cc [diff] |
Force define __STDC_FORMAT_MACROS for PRIdxx types
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h index 0f4316c..baea4bc 100644 --- a/include/grpc/impl/codegen/port_platform.h +++ b/include/grpc/impl/codegen/port_platform.h
@@ -415,4 +415,8 @@ #endif /* GPR_ATTRIBUTE_NO_TSAN (2) */ #endif /* GPR_ATTRIBUTE_NO_TSAN (1) */ +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif + #endif /* GRPC_IMPL_CODEGEN_PORT_PLATFORM_H */