Create a weak pthread_create reference on NetBSD to not force a
dependency on libpthread for code that doesn't use threads itself. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@182161 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e98b34a8c
commit
67444034ed
@ -21,6 +21,10 @@
|
||||
#endif // !__sun__ && !__linux__
|
||||
#endif // !_WIN32
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#pragma weak pthread_create // Do not create libpthread dependency
|
||||
#endif
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
thread::~thread()
|
||||
|
Loading…
x
Reference in New Issue
Block a user