* fixes #14209 [backport:1.2] * improve stability
This commit is contained in:
parent
e86a6d24d5
commit
64e839d5fd
3 changed files with 32 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ proc raiseDivByZero {.compilerproc, noinline.} =
|
|||
|
||||
{.pragma: nimbaseH, importc, nodecl, noSideEffect, compilerproc.}
|
||||
|
||||
when (defined(gcc) or defined(clang) or defined(zig)) and not defined(nimEmulateOverflowChecks):
|
||||
when not defined(nimEmulateOverflowChecks):
|
||||
# take the #define from nimbase.h
|
||||
|
||||
proc nimAddInt(a, b: int, res: ptr int): bool {.nimbaseH.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue