forked from OSchip/llvm-project
Fix build when disable thread support.
Patch by Howard Su. llvm-svn: 73680
This commit is contained in:
parent
bb4a7979b5
commit
6eb4a73633
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue