aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/impl/codegen/port_platform.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-05-18 07:46:22 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-05-22 08:53:46 -0700
commita70102b1eb52346cfc5b5640df07516c66ef38cb (patch)
tree732b70b1dd9f4d8888a3f3c67d946536143ae60f /include/grpc/impl/codegen/port_platform.h
parentc7d57f1157e7b11c286b635f0a3bc22659cd1900 (diff)
Use cc rather than mm files and merge cfstream related files into core
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-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 */