File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: c2c497ff53596ffcdf713d6aabfbaaf2e50371bf
2
+ refs/heads/master: d2218d9c9cb4cbd28e3de44c152f1b270f185e58
Original file line number Diff line number Diff line change @@ -122,8 +122,16 @@ native mod c_float {
122
122
y : c_float ) -> c_float ;
123
123
#[ link_name="hypotf" ] pure fn hypot ( x : c_float , y : c_float ) -> c_float ;
124
124
#[ link_name="ldexpf" ] pure fn ldexp ( x : c_float , n : c_int ) -> c_float ;
125
+
126
+ #[ cfg( target_os="linux" ) ]
127
+ #[ cfg( target_os="macos" ) ]
125
128
#[ link_name="lgammaf_r" ] pure fn lgamma ( n : c_float ,
126
129
& sign: c_int ) -> c_float ;
130
+
131
+ #[ cfg( target_os="win32" ) ]
132
+ #[ link_name="__lgammaf_r" ] pure fn lgamma ( n : c_float ,
133
+ & sign: c_int ) -> c_float ;
134
+
127
135
#[ link_name="logf" ] pure fn ln ( n : c_float ) -> c_float ;
128
136
#[ link_name="logbf" ] pure fn log_radix ( n : c_float ) -> c_float ;
129
137
#[ link_name="log1pf" ] pure fn ln1p ( n : c_float ) -> c_float ;
You can’t perform that action at this time.
0 commit comments