fix () warning
parent
fc5f4ff326
commit
4da21d80e3
|
@ -557,7 +557,7 @@ pub fn (v mut V) generate_main() {
|
|||
}
|
||||
|
||||
pub fn (v mut V) gen_main_start(add_os_args bool) {
|
||||
if (v.os == .windows) {
|
||||
if v.os == .windows {
|
||||
if 'glfw' in v.table.imports {
|
||||
v.cgen.genln('#ifdef V_BOOTSTRAP')
|
||||
v.cgen.genln('int main(int argc, char** argv) { ')
|
||||
|
|
Loading…
Reference in New Issue