From 8a339d11787ab782557cf87fc2e4709fbff96a01 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 13 May 2020 18:01:00 +0200 Subject: fixes #13862 --- lib/system/mmdisp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim index 1cdf37604..5cdac2991 100644 --- a/lib/system/mmdisp.nim +++ b/lib/system/mmdisp.nim @@ -83,7 +83,7 @@ else: when not usesDestructors: include "system/cellsets" - when not leakDetector and not useCellIds: + when not leakDetector and not useCellIds and not defined(nimV2): sysAssert(sizeof(Cell) == sizeof(FreeCell), "sizeof FreeCell") when compileOption("gc", "v2"): include "system/gc2" -- cgit 1.4.1-2-gfad0