Skip to content
Snippets Groups Projects
Commit 39fe75ee authored by Mario Emmenlauer's avatar Mario Emmenlauer Committed by Jan Tattermusch
Browse files

include/grpc/impl/codegen/port_platform.h: disable warn_unused_result on MINGW32 platform

parent 88a352cd
No related branches found
No related tags found
No related merge requests found
...@@ -361,7 +361,7 @@ typedef unsigned __int64 uint64_t; ...@@ -361,7 +361,7 @@ typedef unsigned __int64 uint64_t;
#define GPR_MAX_ALIGNMENT 16 #define GPR_MAX_ALIGNMENT 16
#ifndef GRPC_MUST_USE_RESULT #ifndef GRPC_MUST_USE_RESULT
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__MINGW32__)
#define GRPC_MUST_USE_RESULT __attribute__((warn_unused_result)) #define GRPC_MUST_USE_RESULT __attribute__((warn_unused_result))
#else #else
#define GRPC_MUST_USE_RESULT #define GRPC_MUST_USE_RESULT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment