DLL generation may work again

This commit is contained in:
Araq 2011-11-02 01:25:17 +01:00
commit 84c473a890
5 changed files with 30 additions and 9 deletions

View file

@ -63,10 +63,10 @@ type
region: TMemRegion # garbage collected region
stat: TGcStat
when not defined(useNimRtl):
var
gch {.rtlThreadVar.}: TGcHeap
var
gch {.rtlThreadVar.}: TGcHeap
when not defined(useNimRtl):
InstantiateForRegion(gch.region)
proc acquire(gch: var TGcHeap) {.inline.} =