summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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