mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
Fix compilation without pthreads.
Patch by Xerxes Ranby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6677f51127
commit
02b97355aa
@ -20,6 +20,6 @@ namespace llvm {
|
||||
using namespace sys;
|
||||
ThreadLocalImpl::ThreadLocalImpl() { }
|
||||
ThreadLocalImpl::~ThreadLocalImpl() { }
|
||||
void ThreadLocalImpl::setInstance(void* d) { data = d; }
|
||||
void* ThreadLocalImpl::getInstance() { return data; }
|
||||
}
|
||||
void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
|
||||
const void* ThreadLocalImpl::getInstance() { return data; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user