Fix build when disable thread support.
authorOwen Anderson <resistor@mac.com>
Thu, 18 Jun 2009 04:44:46 +0000 (04:44 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 18 Jun 2009 04:44:46 +0000 (04:44 +0000)
Patch by Howard Su.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73680 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/RWMutex.cpp

index 6cf2076cb07a8eec5e47b37fe7a0b996093b72f0..2b6cf6c214899dfb0a50c7e5bbff3a4933a279f3 100644 (file)
@@ -23,7 +23,7 @@
 // Define all methods as no-ops if threading is explicitly disabled
 namespace llvm {
 using namespace sys;
-RWMutex::RWMutex( bool recursive) { }
+RWMutex::RWMutex() { }
 RWMutex::~RWMutex() { }
 bool RWMutex::reader_acquire() { return true; }
 bool RWMutex::reader_release() { return true; }