remove system/ansi_c include from os

This commit is contained in:
Jacek Sieka 2016-06-05 20:16:26 +08:00
commit fe2b39f007
5 changed files with 19 additions and 31 deletions

View file

@ -255,7 +255,7 @@ proc raiseExceptionAux(e: ref Exception) =
add(buf, "Error: unhandled exception: ")
if not isNil(e.msg): add(buf, e.msg)
add(buf, " [")
xadd(buf, e.name, c_strlen(e.name))
xadd(buf, e.name, e.name.len)
add(buf, "]\n")
showErrorMessage(buf)
quitOrDebug()