Skip to content

Commit d9262a5

Browse files
authored
Merge pull request #4529 from Gelbpunkt/mips64-irix-compat
linux_like: mips64: Fix SI_TIMER, SI_MESGQ and SI_ASYNCIO definitions
2 parents 3e00495 + dff820c commit d9262a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/unix/linux_like/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,11 @@ pub const SI_USER: c_int = 0;
12681268
pub const SI_KERNEL: c_int = 0x80;
12691269
pub const SI_QUEUE: c_int = -1;
12701270
cfg_if! {
1271-
if #[cfg(not(any(target_arch = "mips", target_arch = "mips32r6")))] {
1271+
if #[cfg(not(any(
1272+
target_arch = "mips",
1273+
target_arch = "mips32r6",
1274+
target_arch = "mips64"
1275+
)))] {
12721276
pub const SI_TIMER: c_int = -2;
12731277
pub const SI_MESGQ: c_int = -3;
12741278
pub const SI_ASYNCIO: c_int = -4;

0 commit comments

Comments
 (0)