mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
For PR808:
NetBSD also doesn't have pthread_mutexattr_setpshared llvm-svn: 33406
This commit is contained in:
parent
8c5e9215e7
commit
826ff3f805
@ -76,7 +76,7 @@ Mutex::Mutex( bool recursive)
|
||||
errorcode = pthread_mutexattr_settype(&attr, kind);
|
||||
assert(errorcode == 0);
|
||||
|
||||
#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
||||
// Make it a process local mutex
|
||||
errorcode = pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_PRIVATE);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user