diff options
author | Bryant Mairs <bryant@mai.rs> | 2018-12-01 11:26:17 -0800 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2018-12-01 11:26:17 -0800 |
commit | 4066476d0387f516e4b874d81cd413cc6783d4af (patch) | |
tree | aedc1da7254c3a2fa4d2ec34fc00a618c6d55f21 /src/sys/termios.rs | |
parent | 8626b131a05085c848963af8253c0d097b9d5c4d (diff) | |
download | nix-4066476d0387f516e4b874d81cd413cc6783d4af.zip |
Remove duplicate termios constants
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.
Diffstat (limited to 'src/sys/termios.rs')
-rw-r--r-- | src/sys/termios.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/termios.rs b/src/sys/termios.rs index 25326b01..8a99c1ab 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -559,6 +559,7 @@ libc_enum! { VINTR, VKILL, VLNEXT, + #[cfg(not(all(target_os = "linux", target_arch = "sparc64")))] VMIN, VQUIT, VREPRINT, @@ -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")] |