windows gui hello world

This commit is contained in:
Andrew Kelley committed 2017-09-24 03:55:45 -04:00
1 parent 41b588547c
commit ba41be67f0
6 files changed
+47 -28

No files matched your search

+1 -1
View File
@@ -5157,7 +5157,7 @@ static void gen_root_source(CodeGen *g) {
assert(g->root_out_name);
assert(g->out_type != OutTypeUnknown);
if (!g->is_test_build && g->zig_target.os != ZigLLVM_UnknownOS && !g->have_c_main &&
if (!g->is_test_build && g->zig_target.os != ZigLLVM_UnknownOS && !g->have_c_main && !g->have_winmain &&
((g->have_pub_main && g->out_type == OutTypeObj) || g->out_type == OutTypeExe))
{
g->bootstrap_import = add_special_code(g, create_bootstrap_pkg(g, g->root_package), "bootstrap.zig");