aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/impl/codegen/port_platform.h
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2017-04-19 10:25:34 -0700
committerGravatar murgatroid99 <mlumish@google.com>2017-04-19 10:25:34 -0700
commit98058337767a2d4ca2a75215292060bfbb2edd76 (patch)
tree9aae2b69f3e62f528d9037a3c4f57ae2865b06eb /include/grpc/impl/codegen/port_platform.h
parent5ef2087de7067435c321c9e634aefd7b80441295 (diff)
Add flag to compile gpr with compatibility for musl
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-rw-r--r--include/grpc/impl/codegen/port_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 813e08b86e..a149279b72 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -189,7 +189,7 @@
#ifdef __GLIBC__
#define GPR_POSIX_CRASH_HANDLER 1
#else /* musl libc */
-#define GRPC_MSG_IOVLEN_TYPE int
+#define GPR_MUSL_LIBC_COMPAT 1
#endif
#elif defined(__APPLE__)
#include <Availability.h>