File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -723,12 +723,11 @@ extern {
723
723
724
724
// libuv doesn't use pthread on windows
725
725
// android libc (bionic) provides pthread, so no additional link is required
726
- #[ cfg( not( windows) , not ( target_os = "android" ) ) ]
726
+ #[ cfg( not( any ( windows, target_os = "android" ) ) ) ]
727
727
#[ link( name = "pthread" ) ]
728
728
extern { }
729
729
730
- #[ cfg( target_os = "linux" ) ]
731
- #[ cfg( target_os = "dragonfly" ) ]
730
+ #[ cfg( any( target_os = "linux" , target_os = "dragonfly" ) ) ]
732
731
#[ link( name = "rt" ) ]
733
732
extern { }
734
733
@@ -738,7 +737,6 @@ extern {}
738
737
#[ link( name = "iphlpapi" ) ]
739
738
extern { }
740
739
741
- #[ cfg( target_os = "freebsd" ) ]
742
- #[ cfg( target_os = "dragonfly" ) ]
740
+ #[ cfg( any( target_os = "freebsd" , target_os = "dragonfly" ) ) ]
743
741
#[ link( name = "kvm" ) ]
744
742
extern { }
You can’t perform that action at this time.
0 commit comments