diff --git a/lib/system/repr.nim b/lib/system/repr.nim index 43ac0088f1..ec02f5e089 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