diff options
author | kwasimensah <kmensah@google.com> | 2017-10-30 12:26:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 12:26:46 -0400 |
commit | c58952649f27b064ceabedafc84096b5d137d361 (patch) | |
tree | f2499356fd2937a58803d9218d9671c09e1250db /include/grpc/impl/codegen/port_platform.h | |
parent | 9757fd25efd2acd718ef741143516b9eb1113003 (diff) |
Got cpu_posix.cc to work without tls
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-rw-r--r-- | include/grpc/impl/codegen/port_platform.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h index 5784fcee4c..dc5a6ea6e5 100644 --- a/include/grpc/impl/codegen/port_platform.h +++ b/include/grpc/impl/codegen/port_platform.h @@ -306,13 +306,6 @@ #define GPR_PTHREAD_TLS 1 #endif //!defined(ABSL_HAVE_TLS) && defined(GPR_GCC_TLS) -// cpu_posix.cc depends on TLS and cpu_linux.cc doesn't. -#if !defined(GPR_GCC_TLS) && defined(GPR_CPU_POSIX) -#undef GPR_CPU_POSIX -#define GPR_CPU_LINUX 1 -#endif //! defined(GPR_GCC_TLS) && defined(GPR_CPU_POSIX) -#endif // defined(__ANDROID__) && defined(__clang__) - #if defined(__has_include) #if __has_include(<atomic>) #define GRPC_HAS_CXX11_ATOMIC |