Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1834,16 +1834,12 @@ cfg_if! {
}

cfg_if! {
if #[cfg(target_os = "aix")] {
if #[cfg(any(target_os = "aix", target_os = "nto"))] {
extern "C" {
pub fn cfmakeraw(termios: *mut crate::termios) -> c_int;
pub fn cfsetspeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int;
}
} else if #[cfg(not(any(
target_os = "solaris",
target_os = "illumos",
target_os = "nto",
)))] {
} else if #[cfg(not(any(target_os = "solaris", target_os = "illumos",)))] {
extern "C" {
pub fn cfmakeraw(termios: *mut crate::termios);
pub fn cfsetspeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int;
Expand Down
Loading