summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-10-16 12:45:43 +0200
committerAraq <rumpf_a@web.de>2017-10-16 12:45:43 +0200
commitb219fc74ad057a02a7455f0b83fa4239dbfe5979 (patch)
tree6a4f56c1cfc9a8a281125b4d2888831017c179f7 /lib
parent4a7266e1c1ba34318e1aabf5977fb9dc2f19e355 (diff)
downloadNim-b219fc74ad057a02a7455f0b83fa4239dbfe5979.tar.gz
fixes #5143
Diffstat (limited to 'lib')
-rw-r--r--lib/system/threads.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim
index 96c045e6b..016bf5822 100644
--- a/lib/system/threads.nim
+++ b/lib/system/threads.nim
@@ -398,7 +398,7 @@ template afterThreadRuns() =
     threadDestructionHandlers[i]()
 
 when not defined(boehmgc) and not hasSharedHeap and not defined(gogc) and not defined(gcRegions):
-  proc deallocOsPages()
+  proc deallocOsPages() {.rtl.}
 
 when defined(boehmgc):
   type GCStackBaseProc = proc(sb: pointer, t: pointer) {.noconv.}