Teach selectiondag how to handle the stackprotectorcheck intrinsic.
[oota-llvm.git] / lib / Support / Mutex.cpp
index da5baab4be468bc73c1cce1d70b6f1b1aaeed71c..4e4a026b2f0d970acec9aeba48eefaf83c9ae68a 100644 (file)
@@ -59,7 +59,8 @@ MutexImpl::MutexImpl( bool recursive)
   errorcode = pthread_mutexattr_settype(&attr, kind);
   assert(errorcode == 0);
 
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && \
+    !defined(__DragonFly__) && !defined(__Bitrig__)
   // Make it a process local mutex
   errorcode = pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_PRIVATE);
   assert(errorcode == 0);