Skip to content

Commit ae9e66b

Browse files
committed
signal update string representation for haiku.
1 parent 6d46b1e commit ae9e66b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/sys/unix/process/process_unix.rs

+2
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ fn signal_string(signal: i32) -> &'static str {
746746
libc::SIGWINCH => " (SIGWINCH)",
747747
#[cfg(not(target_os = "haiku"))]
748748
libc::SIGIO => " (SIGIO)",
749+
#[cfg(target_os = "haiku")]
750+
libc::SIGPOLL => " (SIGPOLL)",
749751
libc::SIGSYS => " (SIGSYS)",
750752
// For information on Linux signals, run `man 7 signal`
751753
#[cfg(all(

0 commit comments

Comments
 (0)