aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/impl/codegen/port_platform.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-29 09:07:14 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-29 09:07:14 -0700
commitd9bc2bf8252c6a29fb7fcc21be22f7ccd285e619 (patch)
treee992992b0b9995ccad398f7b7db37ff511d4efe4 /include/grpc/impl/codegen/port_platform.h
parent1a7692683fc40579180dee72bb2863a9bca827b6 (diff)
parentd07275764717272c451ace7d7bd10c8d9a51ab6a (diff)
Merge github.com:grpc/grpc into atomic-timers
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-rw-r--r--include/grpc/impl/codegen/port_platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 3d490db1a5..d525083cd0 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -364,6 +364,14 @@ typedef unsigned __int64 uint64_t;
power of two */
#define GPR_MAX_ALIGNMENT 16
+#ifndef GRPC_ARES
+#ifdef GPR_WINDOWS
+#define GRPC_ARES 0
+#else
+#define GRPC_ARES 1
+#endif
+#endif
+
#ifndef GRPC_MUST_USE_RESULT
#if defined(__GNUC__) && !defined(__MINGW32__)
#define GRPC_MUST_USE_RESULT __attribute__((warn_unused_result))