ansi_c.nim: avoid deprecated 'expr' type
This commit is contained in:
parent
54bd728c13
commit
64a7d2fd08
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ else:
|
||||||
when defined(macosx):
|
when defined(macosx):
|
||||||
const SIGBUS = cint(10)
|
const SIGBUS = cint(10)
|
||||||
else:
|
else:
|
||||||
template SIGBUS: expr = SIGSEGV
|
template SIGBUS: untyped = SIGSEGV
|
||||||
|
|
||||||
when defined(nimSigSetjmp) and not defined(nimStdSetjmp):
|
when defined(nimSigSetjmp) and not defined(nimStdSetjmp):
|
||||||
proc c_longjmp(jmpb: C_JmpBuf, retval: cint) {.
|
proc c_longjmp(jmpb: C_JmpBuf, retval: cint) {.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue