aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar apolcyn <apolcyn@google.com>2019-01-08 14:36:20 -0800
committerGravatar GitHub <noreply@github.com>2019-01-08 14:36:20 -0800
commit26dddbb10dfc74db458d975f42346a9d677ca5ed (patch)
treef1045da2bea90a724270693dcaa63346b49da583 /include
parent6c4a45dfa4c527c1c88018a59a3cce56bf405b6d (diff)
parentcab4774d95b9fa53f3cfe3bf58fb07dbc8f7650f (diff)
Merge pull request #16187 from apolcyn/ipv6_resolver_scope_ids
Support named scope id's in grpc_parse_ipv6 on posix platforms
Diffstat (limited to 'include')
-rw-r--r--include/grpc/impl/codegen/port_platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 8f5dae735f..aaeb23694e 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -466,6 +466,10 @@ typedef unsigned __int64 uint64_t;
#define GRPC_ARES 1
#endif
+#ifndef GRPC_IF_NAMETOINDEX
+#define GRPC_IF_NAMETOINDEX 1
+#endif
+
#ifndef GRPC_MUST_USE_RESULT
#if defined(__GNUC__) && !defined(__MINGW32__)
#define GRPC_MUST_USE_RESULT __attribute__((warn_unused_result))