Got cpu_posix.cc to work without tls

pull/13173/head
kwasimensah 7 years ago committed by GitHub
parent 9757fd25ef
commit c58952649f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      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

Loading…
Cancel
Save