1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix () warning

This commit is contained in:
Alexander Medvednikov
2019-12-27 10:16:00 +01:00
parent fc5f4ff326
commit 4da21d80e3

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