File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: c74d5ce0468054c327fecc1302275c66ed0b8f2c
2
+ refs/heads/master: b1e2f04eb4b7a8229c0f776e5a1bd1173c5e1b1c
Original file line number Diff line number Diff line change @@ -47,8 +47,13 @@ native mod c_double {
47
47
pure fn frexp ( n : c_double , & value: c_int ) -> c_double ;
48
48
pure fn hypot ( x : c_double , y : c_double ) -> c_double ;
49
49
pure fn ldexp ( x : c_double , n : c_int ) -> c_double ;
50
+ #[ cfg( target_os = "linux" ) ]
51
+ #[ cfg( target_os = "macos" ) ]
50
52
#[ link_name="lgamma_r" ] pure fn lgamma ( n : c_double ,
51
53
& sign: c_int ) -> c_double ;
54
+ #[ cfg( target_os = "win32" ) ]
55
+ #[ link_name="__lgamma_r" ] pure fn lgamma ( n : c_double ,
56
+ & sign: c_int ) -> c_double ;
52
57
// renamed: log is a reserved keyword; ln seems more natural, too
53
58
#[ link_name="log" ] pure fn ln ( n : c_double ) -> c_double ;
54
59
// renamed: "logb" /often/ is confused for log2 by beginners
You can’t perform that action at this time.
0 commit comments