diff options
Diffstat (limited to 'contrib/llvm-project/libcxx/src/memory.cpp')
| -rw-r--r-- | contrib/llvm-project/libcxx/src/memory.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/libcxx/src/memory.cpp b/contrib/llvm-project/libcxx/src/memory.cpp index c8c00383cf92..633c9a6f5658 100644 --- a/contrib/llvm-project/libcxx/src/memory.cpp +++ b/contrib/llvm-project/libcxx/src/memory.cpp @@ -10,7 +10,7 @@  #ifndef _LIBCPP_HAS_NO_THREADS  #include "mutex"  #include "thread" -#if defined(__unix__) &&  defined(__ELF__) && defined(_LIBCPP_HAS_COMMENT_LIB_PRAGMA) +#if defined(__ELF__) && defined(_LIBCPP_LINK_PTHREAD_LIB)  #pragma comment(lib, "pthread")  #endif  #endif  | 
