Rollup merge of #97771 - rtzoeller:haiku_no_sigio, r=kennytm

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:
Dylan DPC 2022-06-07 11:41:09 +02:00 committed by GitHub
commit f32a4f06ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -730,6 +730,7 @@ fn signal_string(signal: i32) -> &'static str {
libc::SIGVTALRM => " (SIGVTALRM)", libc::SIGVTALRM => " (SIGVTALRM)",
libc::SIGPROF => " (SIGPROF)", libc::SIGPROF => " (SIGPROF)",
libc::SIGWINCH => " (SIGWINCH)", libc::SIGWINCH => " (SIGWINCH)",
#[cfg(not(target_os = "haiku"))]
libc::SIGIO => " (SIGIO)", libc::SIGIO => " (SIGIO)",
libc::SIGSYS => " (SIGSYS)", libc::SIGSYS => " (SIGSYS)",
// For information on Linux signals, run `man 7 signal` // For information on Linux signals, run `man 7 signal`