Skip to content

Commit fac5cbc

Browse files
committed
Remove SIGIO reference on Haiku
Haiku doesn't define SIGIO. The nix crate already employs this workaround: https://github.com/nix-rust/nix/blob/5dedbc7850448ae3922ab0a833f3eb971bf7e25f/src/sys/signal.rs#L92-L94
1 parent fee3a45 commit fac5cbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,7 @@ fn signal_string(signal: i32) -> &'static str {
730730
libc::SIGVTALRM => " (SIGVTALRM)",
731731
libc::SIGPROF => " (SIGPROF)",
732732
libc::SIGWINCH => " (SIGWINCH)",
733+
#[cfg(not(target_os = "haiku"))]
733734
libc::SIGIO => " (SIGIO)",
734735
libc::SIGSYS => " (SIGSYS)",
735736
// For information on Linux signals, run `man 7 signal`

0 commit comments

Comments
 (0)