diff options
Diffstat (limited to 'lib/ansi_c.nim')
-rw-r--r-- | lib/ansi_c.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansi_c.nim b/lib/ansi_c.nim index 6691ca4cc..8e39c9e39 100644 --- a/lib/ansi_c.nim +++ b/lib/ansi_c.nim @@ -47,7 +47,7 @@ else: # only Mac OS X has this shit proc c_longjmp(jmpb: C_JmpBuf, retval: cint) {.nodecl, importc: "longjmp".} -proc c_setjmp(jmpb: var C_JmpBuf) {.nodecl, importc: "setjmp".} +proc c_setjmp(jmpb: var C_JmpBuf): cint {.nodecl, importc: "setjmp".} proc c_signal(sig: cint, handler: proc (a: cint) {.noconv.}) {. importc: "signal", header: "<signal.h>".} |