diff options
author | Araq <rumpf_a@web.de> | 2012-03-31 01:16:44 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-03-31 01:16:44 +0200 |
commit | b2c255c739acf174866b033dcec2ed4c8e265279 (patch) | |
tree | 4822db14fc410a7ce2fd4703c9f129a871ea08ca /lib/system | |
parent | 142e849b91cb39976ec2ca78e0c7a998288a367a (diff) | |
download | Nim-b2c255c739acf174866b033dcec2ed4c8e265279.tar.gz |
bugfix: DLLs should compile again
Diffstat (limited to 'lib/system')
-rwxr-xr-x | lib/system/repr.nim | 3 |
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 |