Rollup merge of #107053 - devnexen:sigstringrepr_haiku, r=thomcc

signal update string representation for haiku.
This commit is contained in:
Matthias Krüger 2023-01-20 07:16:10 +01:00 committed by GitHub
commit 35d488f23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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