llvm-toolchain/debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff
2019-05-02 08:56:35 +02:00

13 lines
595 B
Diff

Index: llvm-toolchain-snapshot_9~svn359759/libcxx/include/__config
===================================================================
--- llvm-toolchain-snapshot_9~svn359759.orig/libcxx/include/__config
+++ llvm-toolchain-snapshot_9~svn359759/libcxx/include/__config
@@ -1132,6 +1132,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__) || \