summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys/termios.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/termios.rs b/src/sys/termios.rs
index af29d64d..0614cb5e 100644
--- a/src/sys/termios.rs
+++ b/src/sys/termios.rs
@@ -1161,6 +1161,7 @@ pub fn tcgetattr<Fd: AsFd>(fd: Fd) -> Result<Termios> {
/// `tcsetattr()` reconfigures the given port based on a given `Termios` structure. This change
/// takes affect at a time specified by `actions`. Note that this function may return success if
/// *any* of the parameters were successfully set, not only if all were set successfully.
+#[cfg(not(any(target_os = "illumos", target_os = "solaris",)))]
pub fn tcsetattr<Fd: AsFd>(
fd: Fd,
actions: SetArg,