v.gen.c: fix `[console]` handling for `sokol` programs on windows with parallel cgen
parent
443fa50244
commit
aa8915bdf6
|
@ -327,6 +327,9 @@ pub fn gen(files []&ast.File, table &ast.Table, pref &pref.Preferences) string {
|
|||
global_g.embedded_data.write(g.embedded_data) or { panic(err) }
|
||||
global_g.shared_types.write(g.shared_types) or { panic(err) }
|
||||
global_g.shared_functions.write(g.channel_definitions) or { panic(err) }
|
||||
|
||||
global_g.force_main_console = global_g.force_main_console || g.force_main_console
|
||||
|
||||
// merge maps
|
||||
for k, v in g.shareds {
|
||||
global_g.shareds[k] = v
|
||||
|
|
Loading…
Reference in New Issue