Co-authored-by: cooldome <ariabushenko@bk.ru>
This commit is contained in:
cooldome 2020-04-07 18:40:14 +01:00 • committed by GitHub
commit c835c8c4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -143,8 +143,8 @@ compiler vcc:
result = ( result = (
name: "vcc", name: "vcc",
objExt: "obj", objExt: "obj",
optSpeed: " /Ogityb2 /G7 ", optSpeed: " /Ogityb2 ",
optSize: " /O1 /G7 ", optSize: " /O1 ",
compilerExe: "cl", compilerExe: "cl",
cppCompiler: "cl", cppCompiler: "cl",
compileTmpl: "/c$vccplatform $options $include /Fo$objfile $file", compileTmpl: "/c$vccplatform $options $include /Fo$objfile $file",

View file

@ -569,7 +569,7 @@ NIM_STATIC_ASSERT(sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8, ""
#define nimModInt(a, b, res) (((*res) = (a) % (b)), 0) #define nimModInt(a, b, res) (((*res) = (a) % (b)), 0)
#define nimModInt64(a, b, res) (((*res) = (a) % (b)), 0) #define nimModInt64(a, b, res) (((*res) = (a) % (b)), 0)
#if !defined(_MSC_VER) && !defined(NIM_EmulateOverflowChecks) #if (!defined(_MSC_VER) || defined(__clang__)) && !defined(NIM_EmulateOverflowChecks)
/* these exist because we cannot have .compilerProcs that are importc'ed /* these exist because we cannot have .compilerProcs that are importc'ed
by a different name */ by a different name */