diff options
| author | praschke <stel@comfy.monster> | 2023-01-31 21:55:16 +0000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-01-31 23:25:02 -0500 |
| commit | 2ccff5115454bab4898bae3de88f5619310bc5c1 (patch) | |
| tree | 4fe5c5fca5e35cd17ebe41b04928177535713477 /src | |
| parent | efa25e7d5bca63e83f6a653058c05dacc771d19e (diff) | |
| download | zig-2ccff5115454bab4898bae3de88f5619310bc5c1.tar.gz zig-2ccff5115454bab4898bae3de88f5619310bc5c1.zip | |
mingw: repair msvcrt-os build flags
__LIBMSVCRT__ is still used and is distinct from __LIBMSVCRT_OS__
Diffstat (limited to 'src')
| -rw-r--r-- | src/mingw.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mingw.zig b/src/mingw.zig index 1fee8e90a4..06880743c6 100644 --- 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", |
