| ... | @@ -105,7 +105,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile) !void { | ... | @@ -105,7 +105,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile) !void { |
| 105 | .msvcrt_os_lib => { | 105 | .msvcrt_os_lib => { |
| 106 | const extra_flags = try arena.dupe([]const u8, &[_][]const u8{ | 106 | const extra_flags = try arena.dupe([]const u8, &[_][]const u8{ |
| 107 | "-DHAVE_CONFIG_H", | 107 | "-DHAVE_CONFIG_H", |
| 108 | "-D__LIBMSVCRT__", | 108 | "-D__LIBMSVCRT_OS__", |
| 109 | | 109 | |
| 110 | "-I", | 110 | "-I", |
| 111 | try comp.zig_lib_directory.join(arena, &[_][]const u8{ "libc", "mingw", "include" }), | 111 | try comp.zig_lib_directory.join(arena, &[_][]const u8{ "libc", "mingw", "include" }), |