Skip to content

Commit d3f31b2

Browse files
committed
Add lgamma_r and lgammaf_r to MinGW
1 parent efd227f commit d3f31b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub mod int;
5151
all(target_arch = "mips", target_os = "none"),
5252
target_os = "xous",
5353
all(target_vendor = "fortanix", target_env = "sgx"),
54-
target_env = "msvc"
54+
target_os = "windows"
5555
))]
5656
pub mod math;
5757
pub mod mem;

src/math.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ no_mangle! {
9696
all(target_arch = "x86_64", target_os = "uefi"),
9797
all(target_arch = "xtensa", target_os = "none"),
9898
all(target_vendor = "fortanix", target_env = "sgx"),
99-
target_env = "msvc"
99+
target_os = "windows"
100100
))]
101101
intrinsics! {
102102
pub extern "C" fn lgamma_r(x: f64, s: &mut i32) -> f64 {

0 commit comments

Comments
 (0)