We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 615224f commit 8423131Copy full SHA for 8423131
1 file changed
src/unix/mod.rs
@@ -1838,16 +1838,12 @@ cfg_if! {
1838
}
1839
1840
cfg_if! {
1841
- if #[cfg(target_os = "aix")] {
+ if #[cfg(any(target_os = "aix", target_os = "nto"))] {
1842
extern "C" {
1843
pub fn cfmakeraw(termios: *mut crate::termios) -> c_int;
1844
pub fn cfsetspeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int;
1845
1846
- } else if #[cfg(not(any(
1847
- target_os = "solaris",
1848
- target_os = "illumos",
1849
- target_os = "nto",
1850
- )))] {
+ } else if #[cfg(not(any(target_os = "solaris", target_os = "illumos",)))] {
1851
1852
pub fn cfmakeraw(termios: *mut crate::termios);
1853
0 commit comments