From 4baaea5ad52f5a80b2ca5592d2950ed28f7c49dc Mon Sep 17 00:00:00 2001 From: Reimer Behrends Date: Sun, 6 Sep 2015 01:48:31 +0200 Subject: [PATCH] Properly initialize the Boehm GC on all platforms. --- lib/system/mmdisp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim index 8a946716d6..bf006f68a7 100644 --- a/lib/system/mmdisp.nim +++ b/lib/system/mmdisp.nim @@ -157,7 +157,7 @@ when defined(boehmgc): proc setStackBottom(theStackBottom: pointer) = discard proc initGC() = - when defined(macosx): boehmGCinit() + boehmGCinit() proc newObj(typ: PNimType, size: int): pointer {.compilerproc.} = if ntfNoRefs in typ.flags: result = allocAtomic(size)