mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
Fix linking errors with floorl on MSVC by including math.h in a .cpp file. floorl is a force inline function defined in a header thus not visible for the linker.
This commit is contained in:
parent
ed2e4a7f13
commit
4eaf3c665e
@ -41,6 +41,7 @@
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <ntsecapi.h>
|
||||
#include <math.h>
|
||||
|
||||
// Workaround an upstream LLVM issue.
|
||||
// See https://github.com/ziglang/zig/issues/7614#issuecomment-752939981
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user