llvm-toolchain/debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff
2019-08-27 10:23:36 +02:00

13 lines
598 B
Diff

Index: llvm-toolchain-snapshot_10~svn370025/libcxx/include/__config
===================================================================
--- llvm-toolchain-snapshot_10~svn370025.orig/libcxx/include/__config
+++ llvm-toolchain-snapshot_10~svn370025/libcxx/include/__config
@@ -1062,6 +1062,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanit
!defined(_LIBCPP_HAS_THREAD_API_WIN32) && \
!defined(_LIBCPP_HAS_THREAD_API_EXTERNAL)
# if defined(__FreeBSD__) || \
+ defined(__FreeBSD_kernel__) || \
defined(__Fuchsia__) || \
defined(__wasi__) || \
defined(__NetBSD__) || \