File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1834,16 +1834,12 @@ cfg_if! {
1834
1834
}
1835
1835
1836
1836
cfg_if ! {
1837
- if #[ cfg( target_os = "aix" ) ] {
1837
+ if #[ cfg( any ( target_os = "aix" , target_os = "nto" ) ) ] {
1838
1838
extern "C" {
1839
1839
pub fn cfmakeraw( termios: * mut crate :: termios) -> c_int;
1840
1840
pub fn cfsetspeed( termios: * mut crate :: termios, speed: crate :: speed_t) -> c_int;
1841
1841
}
1842
- } else if #[ cfg( not( any(
1843
- target_os = "solaris" ,
1844
- target_os = "illumos" ,
1845
- target_os = "nto" ,
1846
- ) ) ) ] {
1842
+ } else if #[ cfg( not( any( target_os = "solaris" , target_os = "illumos" , ) ) ) ] {
1847
1843
extern "C" {
1848
1844
pub fn cfmakeraw( termios: * mut crate :: termios) ;
1849
1845
pub fn cfsetspeed( termios: * mut crate :: termios, speed: crate :: speed_t) -> c_int;
You can’t perform that action at this time.
0 commit comments