From a8edf67a280155a33b57785866d41fca249b9909 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sat, 30 Jul 2016 00:50:38 +0200 Subject: make nim bootstrap again for older versions --- lib/system/inclrtl.nim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/system') diff --git a/lib/system/inclrtl.nim b/lib/system/inclrtl.nim index 3caeefcbc..f9e6754ef 100644 --- a/lib/system/inclrtl.nim +++ b/lib/system/inclrtl.nim @@ -19,6 +19,11 @@ when not defined(nimNewShared): {.pragma: gcsafe.} +when not defined(nimImmediateDeprecated): + {.pragma: oldimmediate, immediate.} +else: + {.pragma: oldimmediate.} + when defined(createNimRtl): when defined(useNimRtl): {.error: "Cannot create and use nimrtl at the same time!".} -- cgit 1.4.1-2-gfad0