Skip to content

Commit a69b2c1

Browse files
authored
termios: Add definition for IUCLC (#2702)
Needs: rust-lang/libc#4846 Related: uutils/coreutils#9432
1 parent 9ac60c5 commit a69b2c1

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

changelog/2702.added.md

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

src/sys/termios.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,14 @@ libc_bitflags! {
478478
ICRNL;
479479
IXON;
480480
IXOFF;
481+
#[cfg(any(linux_android,
482+
target_os = "aix",
483+
target_os = "cygwin",
484+
target_os = "haiku",
485+
target_os = "hurd",
486+
target_os = "nto",
487+
solarish))]
488+
IUCLC;
481489
#[cfg(not(target_os = "redox"))]
482490
IXANY;
483491
#[cfg(not(any(target_os = "redox", target_os = "haiku")))]

0 commit comments

Comments
 (0)