diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2014-08-11 20:49:36 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2014-10-24 04:28:09 +0200 |
| commit | 50e86c26e0aa292e5e0452abd1830741f5bb525e (patch) | |
| tree | 18ad0d76b997a1252440530c3df8ec7fee9c6998 /src/libnative | |
| parent | 56d544f7adc455fc1d7dfaec80315ea44e46d9ae (diff) | |
| download | rust-50e86c26e0aa292e5e0452abd1830741f5bb525e.tar.gz rust-50e86c26e0aa292e5e0452abd1830741f5bb525e.zip | |
Fix sigaction on OS X
Diffstat (limited to 'src/libnative')
| -rw-r--r-- | src/libnative/io/c_unix.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libnative/io/c_unix.rs b/src/libnative/io/c_unix.rs index c2af9c03c42..f1757d367c3 100644 --- a/src/libnative/io/c_unix.rs +++ b/src/libnative/io/c_unix.rs @@ -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), |
