the compiler can be compiled with vcc (#22832)

This commit is contained in:
Juan M Gómez
2023-10-16 14:36:39 +01:00
committed by GitHub
parent 078495c793
commit a9bc6779e1

View File

@@ -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