compiler: fix building v with tcc on linux
parent
bfa6505636
commit
011afeb2ea
|
@ -2737,7 +2737,7 @@ fn (p mut Parser) array_init() string {
|
|||
new_arr += '_no_alloc'
|
||||
}
|
||||
|
||||
if i == 0 {
|
||||
if i == 0 && p.pref.ccompiler != 'tcc' {
|
||||
p.gen(' 0 })')
|
||||
} else {
|
||||
p.gen(' })')
|
||||
|
|
Loading…
Reference in New Issue