msvc: Fix the link name for the lgamma
The function is apparently just called lgamma on MSVC
This commit is contained in:
parent
407fb293db
commit
18c39e126a
@ -37,7 +37,7 @@ mod m {
|
||||
#[link_name="lgamma_r"]
|
||||
pub fn lgamma(n: c_double, sign: &mut c_int) -> c_double;
|
||||
#[cfg(windows)]
|
||||
#[link_name="__lgamma_r"]
|
||||
#[link_name="lgamma"]
|
||||
pub fn lgamma(n: c_double, sign: &mut c_int) -> c_double;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user