use stdint.h with msvc
parent
7d58dc2350
commit
93529031de
|
@ -246,7 +246,11 @@ pub fn (v mut V) compile() {
|
|||
cgen.genln(js_headers)
|
||||
} $else {
|
||||
if !v.pref.is_bare {
|
||||
cgen.genln('#include <inttypes.h>') // int64_t etc
|
||||
$if msvc {
|
||||
cgen.genln('#include <stdint.h>')
|
||||
} $else {
|
||||
cgen.genln('#include <inttypes.h>') // int64_t etc
|
||||
}
|
||||
} else {
|
||||
cgen.genln('#include <stdint.h>')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue