From b2c255c739acf174866b033dcec2ed4c8e265279 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 31 Mar 2012 01:16:44 +0200 Subject: bugfix: DLLs should compile again --- lib/system/repr.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/system') diff --git a/lib/system/repr.nim b/lib/system/repr.nim index 43ac0088f..ec02f5e08 100755 --- a/lib/system/repr.nim +++ b/lib/system/repr.nim @@ -9,7 +9,8 @@ # The generic ``repr`` procedure. It is an invaluable debugging tool. -proc reprAny(p: pointer, typ: PNimType): string {.compilerRtl.} +when not defined(useNimRtl): + proc reprAny(p: pointer, typ: PNimType): string {.compilerRtl.} proc reprInt(x: int64): string {.compilerproc.} = return $x proc reprFloat(x: float): string {.compilerproc.} = return $x -- cgit 1.4.1-2-gfad0