aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/RWMutex.cpp
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
commitdcd329f990e4851cc60ca9743e0a9df3d4a00d24 (patch)
tree48c642fb36ed9a9159bba7147281ffdbc2f02abd /lib/System/RWMutex.cpp
parenta9c4c8973bbca80e1ccddf543bb2824b4d4ae69e (diff)
downloadexternal_llvm-dcd329f990e4851cc60ca9743e0a9df3d4a00d24.zip
external_llvm-dcd329f990e4851cc60ca9743e0a9df3d4a00d24.tar.gz
external_llvm-dcd329f990e4851cc60ca9743e0a9df3d4a00d24.tar.bz2
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/RWMutex.cpp')
-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 6cf2076..2b6cf6c 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; }