diff options
author | Reimer Behrends <behrends@gmail.com> | 2015-09-06 01:48:31 +0200 |
---|---|---|
committer | Reimer Behrends <behrends@gmail.com> | 2015-09-06 01:48:31 +0200 |
commit | 4baaea5ad52f5a80b2ca5592d2950ed28f7c49dc (patch) | |
tree | 406a0a3ea3ac3a1d9bc89a15e041e30149646a96 | |
parent | 55e479657a7c626bb635b9158ebabdccf1eb7465 (diff) | |
download | Nim-4baaea5ad52f5a80b2ca5592d2950ed28f7c49dc.tar.gz |
Properly initialize the Boehm GC on all platforms.
-rw-r--r-- | lib/system/mmdisp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim index 8a946716d..bf006f68a 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) |