mingw: repair msvcrt-os build flags

__LIBMSVCRT__ is still used and is distinct from __LIBMSVCRT_OS__
This commit is contained in:
praschke
2023-01-31 21:55:16 +00:00
committed by Andrew Kelley
parent efa25e7d5b
commit 2ccff51154

View File

@@ -106,6 +106,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",