Added c_abort to ansi_c (#8449)

This commit is contained in:
Yuriy Glukhov
2018-07-30 12:10:51 +03:00
committed by Andreas Rumpf
parent 404f0d64af
commit 6b40114f21

View File

@@ -27,6 +27,9 @@ proc c_strcmp(a, b: cstring): cint {.
importc: "strcmp", header: "<string.h>", noSideEffect.}
proc c_strlen(a: cstring): csize {.
importc: "strlen", header: "<string.h>", noSideEffect.}
proc c_abort() {.
importc: "abort", header: "<stdlib.h>", noSideEffect.}
when defined(linux) and defined(amd64):
type