We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bcf1c5 commit a290137Copy full SHA for a290137
absl/base/config.h
@@ -276,12 +276,10 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
276
277
// ABSL_HAVE_THREAD_LOCAL
278
//
279
-// DEPRECATED - `thread_local` is available on all supported platforms.
280
-// Checks whether C++11's `thread_local` storage duration specifier is
281
-// supported.
+// Checks whether the `thread_local` storage duration specifier is supported.
282
#ifdef ABSL_HAVE_THREAD_LOCAL
283
#error ABSL_HAVE_THREAD_LOCAL cannot be directly set
284
-#else
+#elif !defined(__XTENSA__)
285
#define ABSL_HAVE_THREAD_LOCAL 1
286
#endif
287
0 commit comments