summaryrefslogtreecommitdiff
path: root/lib/System
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-18 04:44:46 +0000
committerOwen Anderson <resistor@mac.com>2009-06-18 04:44:46 +0000
commit6904858ab3d2615ec84b0e98c5aa4a228d9edafb (patch)
tree48c642fb36ed9a9159bba7147281ffdbc2f02abd /lib/System
parent73d2f15fb5af9ca91f1f01dbaea6ff54a6fed68b (diff)
downloadllvm-6904858ab3d2615ec84b0e98c5aa4a228d9edafb.tar.gz
llvm-6904858ab3d2615ec84b0e98c5aa4a228d9edafb.tar.bz2
llvm-6904858ab3d2615ec84b0e98c5aa4a228d9edafb.tar.xz
Fix build when disable thread support.
Patch by Howard Su. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/RWMutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/RWMutex.cpp b/lib/System/RWMutex.cpp
index 6cf2076cb0..2b6cf6c214 100644
--- a/lib/System/RWMutex.cpp
+++ b/lib/System/RWMutex.cpp
@@ -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; }