diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim index 0d318d379d..0e5d2e741d 100644 --- a/lib/system/ansi_c.nim +++ b/lib/system/ansi_c.nim @@ -115,7 +115,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: "", importc: "longjmp".}