mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 23:26:25 +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:
@@ -20,6 +20,6 @@ namespace llvm {
|
|||||||
using namespace sys;
|
using namespace sys;
|
||||||
ThreadLocalImpl::ThreadLocalImpl() { }
|
ThreadLocalImpl::ThreadLocalImpl() { }
|
||||||
ThreadLocalImpl::~ThreadLocalImpl() { }
|
ThreadLocalImpl::~ThreadLocalImpl() { }
|
||||||
void ThreadLocalImpl::setInstance(void* d) { data = d; }
|
void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
|
||||||
void* ThreadLocalImpl::getInstance() { return data; }
|
const void* ThreadLocalImpl::getInstance() { return data; }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user