From ea42111f2274241743c8ee468c6c95022ae9d4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Sat, 22 Nov 2025 00:42:24 +0100 Subject: [PATCH] termios: Add definition for XCASE Needs: https://github.com/rust-lang/libc/pull/4846 Related: https://github.com/uutils/coreutils/pull/9432 --- src/sys/termios.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/sys/termios.rs b/src/sys/termios.rs index bff981fad5..1119105e21 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -686,6 +686,13 @@ libc_bitflags! { #[cfg(not(any(target_os = "redox", target_os = "cygwin")))] PENDIN; NOFLSH; + #[cfg(any(linux_android, + target_os = "aix", + target_os = "haiku", + target_os = "nto", + target_os = "redox", + solarish))] + XCASE; } }