From f644046981f0d1e129fd715ce64ca74fe1ca4263 Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Fri, 16 Oct 2020 09:35:05 -0700 Subject: [PATCH] Revert "Disable C++ TLS on iOS temporarily" --- include/grpc/impl/codegen/port_platform.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h index f3e76511fe3..74a10bec38e 100644 --- a/include/grpc/impl/codegen/port_platform.h +++ b/include/grpc/impl/codegen/port_platform.h @@ -201,8 +201,7 @@ #if TARGET_OS_IPHONE #define GPR_PLATFORM_STRING "ios" #define GPR_CPU_IPHONE 1 -/* TODO(veblush): Will be changed to GPR_STDCPP_TLS later */ -#define GPR_PTHREAD_TLS 1 +#define GPR_STDCPP_TLS 1 #define GRPC_CFSTREAM 1 /* the c-ares resolver isn't safe to enable on iOS */ #define GRPC_ARES 0