Skip to content

Commit a9c73e0

Browse files
authored
termios: Add definition for XCASE (#2703)
Needs: rust-lang/libc#4846 Related: uutils/coreutils#9432
1 parent a69b2c1 commit a9c73e0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

changelog/2703.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
termios: Add definition for XCASE for supported platforms

src/sys/termios.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,11 @@ libc_bitflags! {
705705
#[cfg(not(any(target_os = "redox", target_os = "cygwin")))]
706706
PENDIN;
707707
NOFLSH;
708+
#[cfg(any(linux_android,
709+
target_os = "aix",
710+
target_os = "haiku",
711+
target_os = "nto"))]
712+
XCASE;
708713
}
709714
}
710715

0 commit comments

Comments
 (0)