mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix tcc compilation
This commit is contained in:
parent
72a135c7c5
commit
d088c4cee3
@ -192,7 +192,6 @@ fn (mut g Gen) comp_if(node ast.IfExpr) {
|
||||
if !node.is_expr && !node.has_else && node.branches.len == 1 {
|
||||
if node.branches[0].stmts.len == 0 {
|
||||
// empty ifdef; result of target OS != conditional => skip
|
||||
g.write('/*empty $ if*/')
|
||||
return
|
||||
}
|
||||
if !g.pref.output_cross_c {
|
||||
|
Loading…
Reference in New Issue
Block a user