Fix SUBSYSTEM for link.exe

This commit is contained in:
Ginger Bill
2017-01-05 21:58:24 +00:00
parent d025791462
commit 1356dfeec2
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -5343,7 +5343,7 @@ void ir_gen_tree(irGen *s) {
ir_end_procedure_body(proc);
}
#endif
#if defined(GB_SYSTEM_WINDOWS)
#if 0 && defined(GB_SYSTEM_WINDOWS)
if (!m->build_context->is_dll && !has_win_main) {
// WinMain :: proc(inst, prev: rawptr, cmd_line: ^byte, cmd_show: i32) -> i32
String name = str_lit("WinMain");