Skip to content

Commit

Permalink
mingw: repair msvcrt-os build flags
Browse files Browse the repository at this point in the history
__LIBMSVCRT__ is still used and is distinct from __LIBMSVCRT_OS__
  • Loading branch information
praschke authored and andrewrk committed Feb 1, 2023
1 parent efa25e7 commit 2ccff51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mingw.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2ccff51

Please sign in to comment.