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