fix () warning

pull/3229/head
Alexander Medvednikov 2019-12-27 10:16:00 +01:00
parent fc5f4ff326
commit 4da21d80e3
1 changed files with 14 additions and 14 deletions

View File

@ -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) { ')