We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c847c80 commit 79d7388Copy full SHA for 79d7388
src/libcore/cmath.rs
@@ -49,6 +49,7 @@ native mod c_double {
49
pure fn ldexp(x: c_double, n: c_int) -> c_double;
50
#[cfg(target_os = "linux")]
51
#[cfg(target_os = "macos")]
52
+ #[cfg(target_os = "freebsd")]
53
#[link_name="lgamma_r"] pure fn lgamma(n: c_double,
54
&sign: c_int) -> c_double;
55
#[cfg(target_os = "win32")]
@@ -130,6 +131,7 @@ native mod c_float {
130
131
132
#[cfg(target_os="linux")]
133
#[cfg(target_os="macos")]
134
+ #[cfg(target_os="freebsd")]
135
#[link_name="lgammaf_r"] pure fn lgamma(n: c_float,
136
&sign: c_int) -> c_float;
137
0 commit comments