mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
use stdint.h with msvc
This commit is contained in:
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
Block a user