From e372a63cf7f90ec67d300ced65e89ddeacd8fbd2 Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Wed, 28 Apr 2021 17:35:31 -0700 Subject: [PATCH] Revert "Enabled GPR_ABSEIL_SYNC on Apple (#25841)" (#26115) This reverts commit cb9889d35d29b29de8192d1c8431f93e7dc8f5b9. --- include/grpc/impl/codegen/port_platform.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h index 2a8c7290e75..387639bf833 100644 --- a/include/grpc/impl/codegen/port_platform.h +++ b/include/grpc/impl/codegen/port_platform.h @@ -31,7 +31,12 @@ * Defines GPR_ABSEIL_SYNC to use synchronization features from Abseil */ #ifndef GPR_ABSEIL_SYNC +#if defined(__APPLE__) +// This is disabled on Apple platforms because macos/grpc_basictests_c_cpp +// fails with this. https://github.com/grpc/grpc/issues/23661 +#else #define GPR_ABSEIL_SYNC 1 +#endif #endif // GPR_ABSEIL_SYNC /*