mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
tell windows that we use floats?
This commit is contained in:
parent
a86cd28d1d
commit
279ea48def
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ const STR = "str";
|
|||
// Dec Module
|
||||
const dec = @import("dec.zig");
|
||||
|
||||
var FLTUSED: i32 = 0;
|
||||
comptime {
|
||||
if (builtin.os.tag == .windows) {
|
||||
@export(FLTUSED, .{ .name = "_fltused", .linkage = .Weak });
|
||||
}
|
||||
}
|
||||
|
||||
comptime {
|
||||
exportDecFn(dec.absC, "abs");
|
||||
exportDecFn(dec.acosC, "acos");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue