commit 85f4e579d8f3362dca11f1ccf89ffabc9d46e804 (tree)
parent e4ed8c3f373a6d06511b0210590cf6a4eda6da71
Author: Andrew Kelley <andrew@ziglang.org>
Date: Thu, 6 Oct 2022 07:42:55 -0700
stage2: update mingw-w64 build logic to v10.0.0
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mingw.zig b/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" }),