Skip to content

Commit 79811d5

Browse files
Zoxcbrson
authored andcommitted
Fix sigaction on OS X
1 parent 4d69696 commit 79811d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libnative/io/c_unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ mod signal {
253253
pub status: libc::c_int,
254254
}
255255

256-
#[cfg(target_os = "macos")]
257256
#[cfg(target_os = "ios")]
258257
#[repr(C)]
259258
pub struct sigaction {
@@ -263,6 +262,7 @@ mod signal {
263262
pub sa_flags: libc::c_int,
264263
}
265264

265+
#[cfg(target_os = "macos")]
266266
#[cfg(target_os = "freebsd")]
267267
#[cfg(target_os = "dragonfly")]
268268
#[repr(C)]

0 commit comments

Comments
 (0)