diff options
Diffstat (limited to 'lib/system/osalloc.nim')
-rw-r--r-- | lib/system/osalloc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/osalloc.nim b/lib/system/osalloc.nim index 925e98ed3..201be8540 100644 --- a/lib/system/osalloc.nim +++ b/lib/system/osalloc.nim @@ -29,7 +29,7 @@ const doNotUnmap = not (defined(amd64) or defined(i386)) or when defined(nimAllocPagesViaMalloc): - when not defined(gcArc) and not defined(gcOrc): + when not defined(gcArc) and not defined(gcOrc) and not defined(gcAtomicArc): {.error: "-d:nimAllocPagesViaMalloc is only supported with --gc:arc or --gc:orc".} proc osTryAllocPages(size: int): pointer {.inline.} = |