Skip to content

Commit 448abcf

Browse files
authored
Merge pull request #4530 from Gelbpunkt/musl-mips64-siginfo-order
musl: mips64: Swap order of si_errno and si_code in siginfo_t
2 parents d9262a5 + 76072a6 commit 448abcf

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/linux/musl

1 file changed

+2
-2
lines changed

src/unix/linux_like/linux/musl/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ s! {
148148
// FIXME(union): C implementation uses unions
149149
pub struct siginfo_t {
150150
pub si_signo: c_int,
151-
#[cfg(not(target_arch = "mips"))]
151+
#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))]
152152
pub si_errno: c_int,
153153
pub si_code: c_int,
154-
#[cfg(target_arch = "mips")]
154+
#[cfg(any(target_arch = "mips", target_arch = "mips64"))]
155155
pub si_errno: c_int,
156156
#[doc(hidden)]
157157
#[deprecated(

0 commit comments

Comments
 (0)