diff options
author | Araq <rumpf_a@web.de> | 2015-08-26 23:59:00 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-08-26 23:59:00 +0200 |
commit | 20c2b008227028c52d4ba2349c69dd76d9ed65ab (patch) | |
tree | c88ac550acfc0216730c96acb2ba07945f354eb3 | |
parent | c0ad9a96cef4793b3c2f2ce24f02da076ea887dc (diff) | |
download | Nim-20c2b008227028c52d4ba2349c69dd76d9ed65ab.tar.gz |
make --gc:none work with --threads:on
-rw-r--r-- | lib/system/threads.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim index 315a70af5..c7cb8d9df 100644 --- a/lib/system/threads.nim +++ b/lib/system/threads.nim @@ -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): |