msvc: Fix the link name for the lgamma

The function is apparently just called lgamma on MSVC
This commit is contained in:
Alex Crichton 2015-06-29 23:30:49 -07:00
parent 407fb293db
commit 18c39e126a

View File

@ -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;
}
}