mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Remove SIGIO reference on Haiku
Haiku doesn't define SIGIO. The nix crate already employs this workaround:
5dedbc7850/src/sys/signal.rs (L92-L94)
This commit is contained in:
parent
fee3a459dd
commit
fac5cbc2f5
@ -730,6 +730,7 @@ fn signal_string(signal: i32) -> &'static str {
|
||||
libc::SIGVTALRM => " (SIGVTALRM)",
|
||||
libc::SIGPROF => " (SIGPROF)",
|
||||
libc::SIGWINCH => " (SIGWINCH)",
|
||||
#[cfg(not(target_os = "haiku"))]
|
||||
libc::SIGIO => " (SIGIO)",
|
||||
libc::SIGSYS => " (SIGSYS)",
|
||||
// For information on Linux signals, run `man 7 signal`
|
||||
|
Loading…
Reference in New Issue
Block a user