DLL fixes for windows; fixes #175

This commit is contained in:
Zahary Karadjov
2012-07-31 18:50:53 +03:00
parent 674c05f426
commit 1d065b601c
4 changed files with 16 additions and 11 deletions

View File

@@ -1935,7 +1935,6 @@ when not defined(EcmaScript) and not defined(NimrodVM):
include "system/syslocks"
include "system/threads"
elif not defined(nogc):
initStackBottom()
initGC()
proc setControlCHook*(hook: proc () {.noconv.})

View File

@@ -203,7 +203,6 @@ when not defined(useNimRtl):
when not useStackMaskHack:
var mainThread: TGcThread
ThreadVarSetValue(globalsSlot, addr(mainThread))
initStackBottom()
initGC()
when emulatedThreadVars: