commit 2ccff5115454bab4898bae3de88f5619310bc5c1 (tree)
parent efa25e7d5bca63e83f6a653058c05dacc771d19e
Author: praschke <stel@comfy.monster>
Date: Tue, 31 Jan 2023 21:55:16 +0000
mingw: repair msvcrt-os build flags
__LIBMSVCRT__ is still used and is distinct from __LIBMSVCRT_OS__
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/mingw.zig b/src/mingw.zig
@@ -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",