make --gc:none work with --threads:on

This commit is contained in:
Araq 2015-08-26 23:59:00 +02:00
commit 20c2b00822

View file

@ -244,7 +244,7 @@ when useStackMaskHack:
when not defined(useNimRtl):
when not useStackMaskHack:
#when not defined(createNimRtl): initStackBottom()
initGC()
when declared(initGC): initGC()
when emulatedThreadVars:
if nimThreadVarsSize() > sizeof(ThreadLocalStorage):