fixing PR review comments
This commit is contained in:
parent
2ece7a6831
commit
47ad1cdf56
5 changed files with 15 additions and 427 deletions
|
|
@ -307,8 +307,7 @@ mod signal {
|
|||
#[cfg(any(target_os = "macos",
|
||||
target_os = "ios",
|
||||
target_os = "freebsd",
|
||||
target_os = "dragonfly",
|
||||
target_os = "openbsd"))]
|
||||
target_os = "dragonfly"))]
|
||||
mod signal {
|
||||
use libc;
|
||||
|
||||
|
|
@ -322,8 +321,7 @@ mod signal {
|
|||
pub const SIGCHLD: libc::c_int = 20;
|
||||
|
||||
#[cfg(any(target_os = "macos",
|
||||
target_os = "ios",
|
||||
target_os = "openbsd"))]
|
||||
target_os = "ios"))]
|
||||
pub type sigset_t = u32;
|
||||
#[cfg(any(target_os = "freebsd", target_os = "dragonfly"))]
|
||||
#[repr(C)]
|
||||
|
|
@ -351,7 +349,7 @@ mod signal {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "bitrig")]
|
||||
#[cfg(any(target_os = "bitrig", target_os = "openbsd"))]
|
||||
mod signal {
|
||||
use libc;
|
||||
|
||||
|
|
|
|||
|
|
@ -219,10 +219,7 @@ mod imp {
|
|||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub const SIGSTKSZ: libc::size_t = 131072;
|
||||
#[cfg(target_os = "openbsd")]
|
||||
pub const SIGSTKSZ: libc::size_t = 40960;
|
||||
|
||||
#[cfg(target_os = "bitrig")]
|
||||
#[cfg(any(target_os = "bitrig", target_os = "openbsd"))]
|
||||
pub const SIGSTKSZ: libc::size_t = 40960;
|
||||
|
||||
pub const SIG_DFL: sighandler_t = 0 as sighandler_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue