Skip to content

Commit cf827c7

Browse files
authored
Enable IUCLC on haiku and nto. (#755)
1 parent ce0d97e commit cf827c7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

examples/stdio.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@ fn show<Fd: AsFd>(fd: Fd) -> io::Result<()> {
9191
if term.input_modes.contains(InputModes::ICRNL) {
9292
print!(" ICRNL");
9393
}
94-
#[cfg(any(linux_kernel, solarish, target_os = "haiku"))]
94+
#[cfg(any(
95+
linux_kernel,
96+
solarish,
97+
target_os = "aix",
98+
target_os = "haiku",
99+
target_os = "nto"
100+
))]
95101
if term.input_modes.contains(InputModes::IUCLC) {
96102
print!(" IUCLC");
97103
}

src/termios/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ bitflags! {
264264
const ICRNL = c::ICRNL;
265265

266266
/// `IUCLC`
267-
#[cfg(any(linux_kernel, solarish, target_os = "haiku"))]
267+
#[cfg(any(linux_kernel, solarish, target_os = "aix", target_os = "haiku", target_os = "nto"))]
268268
const IUCLC = c::IUCLC;
269269

270270
/// `IXON`

0 commit comments

Comments
 (0)