summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-11 20:38:28 +0200
committerAraq <rumpf_a@web.de>2014-08-11 20:38:28 +0200
commitdd806cafa0193acb9e79fdd47ec6810da3c48272 (patch)
treeb42f7aacdd844e9402a3308e363f71e14db8b78a /compiler/nimrod.nim
parentb1c8461a3b738cb4383b2e23ba24f36960a8604c (diff)
downloadNim-dd806cafa0193acb9e79fdd47ec6810da3c48272.tar.gz
distinguish between 'defined' and 'declared'
Diffstat (limited to 'compiler/nimrod.nim')
-rw-r--r--compiler/nimrod.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim
index ea7621b09..618d98698 100644
--- a/compiler/nimrod.nim
+++ b/compiler/nimrod.nim
@@ -79,7 +79,7 @@ proc handleCmdLine() =
           var ex = quoteShell(binPath)
           execExternalProgram(ex & ' ' & service.arguments)
 
-when defined(GC_setMaxPause):
+when declared(GC_setMaxPause):
   GC_setMaxPause 2_000
 
 when compileOption("gc", "v2") or compileOption("gc", "refc"):