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 {
723723
724724// libuv doesn't use pthread on windows
725725// 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" ) ) ) ]
727727#[ link( name = "pthread" ) ]
728728extern { }
729729
730- #[ cfg( target_os = "linux" ) ]
731- #[ cfg( target_os = "dragonfly" ) ]
730+ #[ cfg( any( target_os = "linux" , target_os = "dragonfly" ) ) ]
732731#[ link( name = "rt" ) ]
733732extern { }
734733
@@ -738,7 +737,6 @@ extern {}
738737#[ link( name = "iphlpapi" ) ]
739738extern { }
740739
741- #[ cfg( target_os = "freebsd" ) ]
742- #[ cfg( target_os = "dragonfly" ) ]
740+ #[ cfg( any( target_os = "freebsd" , target_os = "dragonfly" ) ) ]
743741#[ link( name = "kvm" ) ]
744742extern { }
You can’t perform that action at this time.
0 commit comments