Commit 85f4e579d8
Changed files (1)
src
src/mingw.zig
@@ -105,7 +105,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile) !void {
.msvcrt_os_lib => {
const extra_flags = try arena.dupe([]const u8, &[_][]const u8{
"-DHAVE_CONFIG_H",
- "-D__LIBMSVCRT__",
+ "-D__LIBMSVCRT_OS__",
"-I",
try comp.zig_lib_directory.join(arena, &[_][]const u8{ "libc", "mingw", "include" }),