Fix sigaction on OS X

This commit is contained in:
John Kåre Alsaker 2014-08-11 20:49:36 +02:00
parent 56d544f7ad
commit 50e86c26e0

View File

@ -252,16 +252,6 @@ mod signal {
pub status: libc::c_int, pub status: libc::c_int,
} }
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[repr(C)]
pub struct sigaction {
pub sa_handler: extern fn(libc::c_int),
sa_tramp: *mut libc::c_void,
pub sa_mask: sigset_t,
pub sa_flags: libc::c_int,
}
#[cfg(any(target_os = "freebsd", target_os = "dragonfly"))]
#[repr(C)] #[repr(C)]
pub struct sigaction { pub struct sigaction {
pub sa_handler: extern fn(libc::c_int), pub sa_handler: extern fn(libc::c_int),