summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah <33094578+coolreader18@users.noreply.github.com>2021-08-08 18:52:21 -0400
committerNoah <33094578+coolreader18@users.noreply.github.com>2021-08-09 09:46:41 -0500
commit74ccbf4342da99b2c31362743800ddfed70f0d41 (patch)
treecae3532e1f533132fa78adedffab2da6bdf2a39d /src
parentba42d04aa8d3e23ba7aaa5cd4675e906a3d8bdfb (diff)
downloadnix-74ccbf4342da99b2c31362743800ddfed70f0d41.zip
Remove some actually unsupported termios iflags on redox
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;