From 33889e1974137a54d1a88b87f57462de2a7cc145 Mon Sep 17 00:00:00 2001 From: "J.C. Moyer" Date: Tue, 28 Sep 2021 08:26:33 -0400 Subject: [PATCH] mingw-w64: add missing file frexp.c to mingwex.lib Fixes a frexp() segfault on Windows. --- src/mingw.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mingw.zig b/src/mingw.zig index 7771065a5a..c10dcbe3f0 100644 --- a/src/mingw.zig +++ b/src/mingw.zig @@ -702,6 +702,7 @@ const mingwex_generic_src = [_][]const u8{ "math" ++ path.sep_str ++ "fpclassify.c", "math" ++ path.sep_str ++ "fpclassifyf.c", "math" ++ path.sep_str ++ "fpclassifyl.c", + "math" ++ path.sep_str ++ "frexp.c", "math" ++ path.sep_str ++ "frexpf.c", "math" ++ path.sep_str ++ "frexpl.c", "math" ++ path.sep_str ++ "hypot.c",