temporary mingw thread_local in heap fix

git-svn-id: svn://ultimatepp.org/upp/trunk@9760 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-05-01 22:01:10 +00:00
commit dea2531e24
4 changed files with 29 additions and 22 deletions

View file

@ -46,7 +46,7 @@ MemoryProfile *PeakMemoryProfile()
void DoPeakProfile()
{
if(sPeak)
heap.Make(*sPeak);
heap->Make(*sPeak);
}
void OutOfMemoryPanic(size_t size)
@ -301,7 +301,7 @@ void Heap::Make(MemoryProfile& f)
MemoryProfile::MemoryProfile()
{
heap.Make(*this);
heap->Make(*this);
}
#ifdef flagHEAPSTAT