diff --git a/lib/system/mm/malloc.nim b/lib/system/mm/malloc.nim index 47f1a95ae4..b3f81b5421 100644 --- a/lib/system/mm/malloc.nim +++ b/lib/system/mm/malloc.nim @@ -50,7 +50,7 @@ proc deallocSharedImpl(p: pointer) = deallocImpl(p) proc GC_disable() = discard proc GC_enable() = discard -when not defined(gcOrc): +when not defined(gcOrc) and not defined(gcYrc): proc GC_fullCollect() = discard proc GC_enableMarkAndSweep() = discard proc GC_disableMarkAndSweep() = discard