added a switch -d:nimEmulateOverflowChecks for broken or old GCC versions (#13692)
This commit is contained in:
parent
b5c9881a30
commit
ba6e7c6365
4 changed files with 13 additions and 5 deletions
|
|
@ -549,7 +549,7 @@ typedef int Nim_and_C_compiler_disagree_on_target_architecture[sizeof(NI) == siz
|
|||
#define nimModInt(a, b, res) (((*res) = (a) % (b)), 0)
|
||||
#define nimModInt64(a, b, res) (((*res) = (a) % (b)), 0)
|
||||
|
||||
#if !defined(_MSC_VER)
|
||||
#if !defined(_MSC_VER) && !defined(NIM_EmulateOverflowChecks)
|
||||
/* these exist because we cannot have .compilerProcs that are importc'ed
|
||||
by a different name */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue