Skip to content

Commit

Permalink
Remove duplicate termios constants
Browse files Browse the repository at this point in the history
These constants have the same value on sparc64, so need to be removed as enums
in Rust can't have multiple names for the same value.
  • Loading branch information
Susurrus committed Dec 1, 2018
1 parent 8626b13 commit 4066476
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sys/termios.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ libc_enum! {
VINTR,
VKILL,
VLNEXT,
#[cfg(not(all(target_os = "linux", target_arch = "sparc64")))]
VMIN,
VQUIT,
VREPRINT,
Expand All @@ -575,6 +576,7 @@ libc_enum! {
VSWTC,
#[cfg(target_os = "haiku")]
VSWTCH,
#[cfg(not(all(target_os = "linux", target_arch = "sparc64")))]
VTIME,
VWERASE,
#[cfg(target_os = "dragonfly")]
Expand Down

0 comments on commit 4066476

Please sign in to comment.