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
This commit is contained in:
Owen Anderson
2009-06-18 04:44:46 +00:00
parent 73d2f15fb5
commit 6904858ab3

View File

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