Skip to content

Commit 50e86c2

Browse files
committed
Fix sigaction on OS X
1 parent 56d544f commit 50e86c2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/libnative/io/c_unix.rs

-10
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,6 @@ mod signal {
252252
pub status: libc::c_int,
253253
}
254254

255-
#[cfg(any(target_os = "macos", target_os = "ios"))]
256-
#[repr(C)]
257-
pub struct sigaction {
258-
pub sa_handler: extern fn(libc::c_int),
259-
sa_tramp: *mut libc::c_void,
260-
pub sa_mask: sigset_t,
261-
pub sa_flags: libc::c_int,
262-
}
263-
264-
#[cfg(any(target_os = "freebsd", target_os = "dragonfly"))]
265255
#[repr(C)]
266256
pub struct sigaction {
267257
pub sa_handler: extern fn(libc::c_int),

0 commit comments

Comments
 (0)