Skip to content

Commit

Permalink
Fix sigaction on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Oct 24, 2014
1 parent 56d544f commit 50e86c2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/libnative/io/c_unix.rs
Expand Up @@ -252,16 +252,6 @@ mod signal {
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)]
pub struct sigaction {
pub sa_handler: extern fn(libc::c_int),
Expand Down

0 comments on commit 50e86c2

Please sign in to comment.