aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxxabi/src/cxa_exception_storage.cpp
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-23 02:31:37 +0200
committerAndrew Kelley <andrew@ziglang.org>2024-09-19 18:20:21 -0700
commitd13bc04cb4c4c2f0806b9d9c676cb013ea888828 (patch)
treefce89240022df2234865aac80c53030bee741932 /lib/libcxxabi/src/cxa_exception_storage.cpp
parent70a1805e46b66955b52ba5ac46914f212d99d19c (diff)
downloadzig-d13bc04cb4c4c2f0806b9d9c676cb013ea888828.tar.gz
zig-d13bc04cb4c4c2f0806b9d9c676cb013ea888828.zip
libcxxabi: Update to LLVM 19.
Diffstat (limited to 'lib/libcxxabi/src/cxa_exception_storage.cpp')
-rw-r--r--lib/libcxxabi/src/cxa_exception_storage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxxabi/src/cxa_exception_storage.cpp b/lib/libcxxabi/src/cxa_exception_storage.cpp
index 3a3233a1b9..c842da195a 100644
--- a/lib/libcxxabi/src/cxa_exception_storage.cpp
+++ b/lib/libcxxabi/src/cxa_exception_storage.cpp
@@ -12,7 +12,7 @@
#include "cxa_exception.h"
-#include <__threading_support>
+#include <__thread/support.h>
#if defined(_LIBCXXABI_HAS_NO_THREADS)
@@ -24,7 +24,7 @@ extern "C" {
} // extern "C"
} // namespace __cxxabiv1
-#elif defined(HAS_THREAD_LOCAL)
+#elif __has_feature(cxx_thread_local)
namespace __cxxabiv1 {
namespace {