Fix nimRawSetjmp for VCC [backport: 1.2] (#19899)
This commit is contained in:
parent
5e32fc7855
commit
40464fa762
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ elif defined(nimBuiltinSetjmp):
|
|||
c_builtin_setjmp(unsafeAddr jmpb[0])
|
||||
|
||||
elif defined(nimRawSetjmp) and not defined(nimStdSetjmp):
|
||||
when defined(windows):
|
||||
when defined(windows) and not defined(vcc):
|
||||
# No `_longjmp()` on Windows.
|
||||
proc c_longjmp*(jmpb: C_JmpBuf, retval: cint) {.
|
||||
header: "<setjmp.h>", importc: "longjmp".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue