From d088c4cee327b81d025faf7ed7a625ee31f7f836 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 11 May 2021 10:21:47 +0300 Subject: [PATCH] cgen: fix tcc compilation --- vlib/v/gen/c/comptime.v | 1 - 1 file changed, 1 deletion(-) diff --git a/vlib/v/gen/c/comptime.v b/vlib/v/gen/c/comptime.v index 393e9424a9..ff8a1ca2ec 100644 --- a/vlib/v/gen/c/comptime.v +++ b/vlib/v/gen/c/comptime.v @@ -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 {