@@ -25,19 +25,23 @@ use time::Duration;
25
25
26
26
#[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
27
27
target_os = "ios" , target_os = "macos" ,
28
- target_os = "openbsd" , target_os = "netbsd" ) ) ]
28
+ target_os = "openbsd" , target_os = "netbsd" ,
29
+ target_os = "solaris" ) ) ]
29
30
use sys:: net:: netc:: IPV6_JOIN_GROUP as IPV6_ADD_MEMBERSHIP ;
30
31
#[ cfg( not( any( target_os = "dragonfly" , target_os = "freebsd" ,
31
32
target_os = "ios" , target_os = "macos" ,
32
- target_os = "openbsd" , target_os = "netbsd" ) ) ) ]
33
+ target_os = "openbsd" , target_os = "netbsd" ,
34
+ target_os = "solaris" ) ) ) ]
33
35
use sys:: net:: netc:: IPV6_ADD_MEMBERSHIP ;
34
36
#[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
35
37
target_os = "ios" , target_os = "macos" ,
36
- target_os = "openbsd" , target_os = "netbsd" ) ) ]
38
+ target_os = "openbsd" , target_os = "netbsd" ,
39
+ target_os = "solaris" ) ) ]
37
40
use sys:: net:: netc:: IPV6_LEAVE_GROUP as IPV6_DROP_MEMBERSHIP ;
38
41
#[ cfg( not( any( target_os = "dragonfly" , target_os = "freebsd" ,
39
42
target_os = "ios" , target_os = "macos" ,
40
- target_os = "openbsd" , target_os = "netbsd" ) ) ) ]
43
+ target_os = "openbsd" , target_os = "netbsd" ,
44
+ target_os = "solaris" ) ) ) ]
41
45
use sys:: net:: netc:: IPV6_DROP_MEMBERSHIP ;
42
46
43
47
////////////////////////////////////////////////////////////////////////////////
0 commit comments