Skip to content

Commit 9b4c16d

Browse files
authored
Merge pull request #546 from ankane/lgamma-r-mingw
2 parents 50baa9f + d3f31b2 commit 9b4c16d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub mod int;
5252
all(target_arch = "mips", target_os = "none"),
5353
target_os = "xous",
5454
all(target_vendor = "fortanix", target_env = "sgx"),
55-
target_env = "msvc"
55+
target_os = "windows"
5656
))]
5757
pub mod math;
5858
pub mod mem;

src/math.rs

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

0 commit comments

Comments
 (0)