aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Mutex.cpp')
-rw-r--r--lib/Support/Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Mutex.cpp b/lib/Support/Mutex.cpp
index 4e4a026b2f..586392fc1e 100644
--- a/lib/Support/Mutex.cpp
+++ b/lib/Support/Mutex.cpp
@@ -60,7 +60,7 @@ MutexImpl::MutexImpl( bool recursive)
assert(errorcode == 0);
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && \
- !defined(__DragonFly__) && !defined(__Bitrig__)
+ !defined(__DragonFly__) && !defined(__Bitrig__) && !defined(__native_client__)
// Make it a process local mutex
errorcode = pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_PRIVATE);
assert(errorcode == 0);