From b219fc74ad057a02a7455f0b83fa4239dbfe5979 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 16 Oct 2017 12:45:43 +0200 Subject: fixes #5143 --- lib/system/threads.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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.} -- cgit 1.4.1-2-gfad0