File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
src/client/legacy/connect Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -108,18 +108,29 @@ impl TcpKeepaliveConfig {
108108 }
109109 }
110110
111- #[ cfg( not( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ) ]
111+ #[ cfg( not( any(
112+ target_os = "aix" ,
113+ target_os = "openbsd" ,
114+ target_os = "redox" ,
115+ target_os = "solaris"
116+ ) ) ) ]
112117 fn ka_with_interval ( ka : TcpKeepalive , interval : Duration , dirty : & mut bool ) -> TcpKeepalive {
113118 * dirty = true ;
114119 ka. with_interval ( interval)
115120 }
116121
117- #[ cfg( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ]
122+ #[ cfg( any(
123+ target_os = "aix" ,
124+ target_os = "openbsd" ,
125+ target_os = "redox" ,
126+ target_os = "solaris"
127+ ) ) ]
118128 fn ka_with_interval ( ka : TcpKeepalive , _: Duration , _: & mut bool ) -> TcpKeepalive {
119129 ka // no-op as keepalive interval is not supported on this platform
120130 }
121131
122132 #[ cfg( not( any(
133+ target_os = "aix" ,
123134 target_os = "openbsd" ,
124135 target_os = "redox" ,
125136 target_os = "solaris" ,
@@ -131,6 +142,7 @@ impl TcpKeepaliveConfig {
131142 }
132143
133144 #[ cfg( any(
145+ target_os = "aix" ,
134146 target_os = "openbsd" ,
135147 target_os = "redox" ,
136148 target_os = "solaris" ,
You can’t perform that action at this time.
0 commit comments