We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a44722f commit b7daadaCopy full SHA for b7daada
1 file changed
src/unix/mod.rs
@@ -1825,16 +1825,12 @@ cfg_if! {
1825
}
1826
1827
cfg_if! {
1828
- if #[cfg(target_os = "aix")] {
+ if #[cfg(any(target_os = "aix", target_os = "nto"))] {
1829
extern "C" {
1830
pub fn cfmakeraw(termios: *mut crate::termios) -> c_int;
1831
pub fn cfsetspeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int;
1832
1833
- } else if #[cfg(not(any(
1834
- target_os = "solaris",
1835
- target_os = "illumos",
1836
- target_os = "nto",
1837
- )))] {
+ } else if #[cfg(not(any(target_os = "solaris", target_os = "illumos",)))] {
1838
1839
pub fn cfmakeraw(termios: *mut crate::termios);
1840
0 commit comments