summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys/termios.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/termios.rs b/src/sys/termios.rs
index b29d3b98..1e4307e3 100644
--- a/src/sys/termios.rs
+++ b/src/sys/termios.rs
@@ -604,7 +604,9 @@ libc_bitflags! {
ICRNL;
IXON;
IXOFF;
+ #[cfg(not(target_os = "redox"))]
IXANY;
+ #[cfg(not(target_os = "redox"))]
IMAXBEL;
#[cfg(any(target_os = "android", target_os = "linux", target_os = "macos"))]
IUTF8;