summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-03-31 01:16:44 +0200
committerAraq <rumpf_a@web.de>2012-03-31 01:16:44 +0200
commitb2c255c739acf174866b033dcec2ed4c8e265279 (patch)
tree4822db14fc410a7ce2fd4703c9f129a871ea08ca /lib/system
parent142e849b91cb39976ec2ca78e0c7a998288a367a (diff)
downloadNim-b2c255c739acf174866b033dcec2ed4c8e265279.tar.gz
bugfix: DLLs should compile again
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/repr.nim3
1 files changed, 2 insertions, 1 deletions
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