forked from OSchip/llvm-project
Create a weak pthread_create reference on NetBSD to not force a
dependency on libpthread for code that doesn't use threads itself. llvm-svn: 182161
This commit is contained in:
parent
b1e4a25b03
commit
df6bbaa528
|
@ -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…
Reference in New Issue