mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
the compiler can be compiled with vcc (#22832)
This commit is contained in:
@@ -463,7 +463,7 @@ elif useVCC_builtins:
|
||||
importc: "_BitScanForward64", header: "<intrin.h>".}
|
||||
|
||||
template vcc_scan_impl(fnc: untyped; v: untyped): int =
|
||||
var index: culong
|
||||
var index {.inject.}: culong = 0
|
||||
discard fnc(index.addr, v)
|
||||
index.int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user