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 @@ -1838,16 +1838,12 @@ cfg_if! {
18381838}
18391839
18401840cfg_if ! {
1841- if #[ cfg( target_os = "aix" ) ] {
1841+ if #[ cfg( any ( target_os = "aix" , target_os = "nto" ) ) ] {
18421842 extern "C" {
18431843 pub fn cfmakeraw( termios: * mut crate :: termios) -> c_int;
18441844 pub fn cfsetspeed( termios: * mut crate :: termios, speed: crate :: speed_t) -> c_int;
18451845 }
1846- } else if #[ cfg( not( any(
1847- target_os = "solaris" ,
1848- target_os = "illumos" ,
1849- target_os = "nto" ,
1850- ) ) ) ] {
1846+ } else if #[ cfg( not( any( target_os = "solaris" , target_os = "illumos" , ) ) ) ] {
18511847 extern "C" {
18521848 pub fn cfmakeraw( termios: * mut crate :: termios) ;
18531849 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