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

pull/9307/head
Mario Emmenlauer 8 years ago committed by Jan Tattermusch
parent 88a352cd0b
commit 39fe75eed3
  1. 2
      include/grpc/impl/codegen/port_platform.h

@ -361,7 +361,7 @@ typedef unsigned __int64 uint64_t;
#define GPR_MAX_ALIGNMENT 16
#ifndef GRPC_MUST_USE_RESULT
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(__MINGW32__)
#define GRPC_MUST_USE_RESULT __attribute__((warn_unused_result))
#else
#define GRPC_MUST_USE_RESULT

Loading…
Cancel
Save