summaryrefslogtreecommitdiffstats
path: root/lib/libcxxabi/include
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-06-17 22:19:32 +0000
committerpatrick <patrick@openbsd.org>2019-06-17 22:19:32 +0000
commitcda1a52ccfcf3aa72394616b283e25bd09f86143 (patch)
tree18616d5657e9877a5c78949dcac36160953df788 /lib/libcxxabi/include
parentImport libc++ 8.0.0. (diff)
downloadwireguard-openbsd-cda1a52ccfcf3aa72394616b283e25bd09f86143.tar.xz
wireguard-openbsd-cda1a52ccfcf3aa72394616b283e25bd09f86143.zip
Import libc++abi 8.0.0.
Diffstat (limited to 'lib/libcxxabi/include')
-rw-r--r--lib/libcxxabi/include/cxxabi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxxabi/include/cxxabi.h b/lib/libcxxabi/include/cxxabi.h
index 2596560d6e9..c6724ad24dc 100644
--- a/lib/libcxxabi/include/cxxabi.h
+++ b/lib/libcxxabi/include/cxxabi.h
@@ -160,8 +160,8 @@ __cxa_decrement_exception_refcount(void *primary_exception) throw();
extern _LIBCXXABI_FUNC_VIS bool __cxa_uncaught_exception() throw();
extern _LIBCXXABI_FUNC_VIS unsigned int __cxa_uncaught_exceptions() throw();
-#ifdef __linux__
-// Linux TLS support. Not yet an official part of the Itanium ABI.
+#if defined(__linux__) || defined(__Fuchsia__)
+// Linux and Fuchsia TLS support. Not yet an official part of the Itanium ABI.
// https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables
extern _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(void (*)(void *), void *,
void *) throw();