aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/impl
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2018-06-07 10:45:10 -0700
committerGravatar GitHub <noreply@github.com>2018-06-07 10:45:10 -0700
commitd7728cda51ee1249e88f7d20dec92435f8d33d53 (patch)
treeba7438d62547e2f4793498477f7931e5cb5ea0d8 /include/grpc/impl
parenta323b51ece13ee8b28788b7d03cada6daeb215cd (diff)
parent08876dadce36200d191b2d7751c8437aa558d9b2 (diff)
Merge pull request #15069 from muxi/prototype-cfstream
Implementation of CFStream
Diffstat (limited to 'include/grpc/impl')
-rw-r--r--include/grpc/impl/codegen/port_platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index bf1bf3df6a..01ce5f03e9 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -227,7 +227,10 @@
#define GPR_POSIX_SYNC 1
#define GPR_POSIX_TIME 1
#define GPR_GETPID_IN_UNISTD_H 1
+/* TODO(mxyan): Remove when CFStream becomes default */
+#ifndef GRPC_CFSTREAM
#define GPR_SUPPORT_CHANNELS_FROM_FD 1
+#endif
#ifdef _LP64
#define GPR_ARCH_64 1
#else /* _LP64 */