From a70102b1eb52346cfc5b5640df07516c66ef38cb Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 18 May 2018 07:46:22 -0700 Subject: Use cc rather than mm files and merge cfstream related files into core --- include/grpc/impl/codegen/port_platform.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/grpc/impl/codegen/port_platform.h') 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 */ -- cgit v1.2.3