summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 8ab3ee2e5..3bf65c695 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2185,7 +2185,7 @@ when not defined(JS): #and not defined(NimrodVM):
     proc initStackBottomWith(locals: pointer) {.inline, compilerproc.} =
       # We need to keep initStackBottom around for now to avoid
       # bootstrapping problems.
-      when defined(setStackBottom):
+      when declared(setStackBottom):
         setStackBottom(locals)
 
     var