File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -1293,9 +1293,17 @@ pub const SI_LOAD_SHIFT: c_uint = 16;
1293
1293
pub const SI_USER : c_int = 0 ;
1294
1294
pub const SI_KERNEL : c_int = 0x80 ;
1295
1295
pub const SI_QUEUE : c_int = -1 ;
1296
- pub const SI_TIMER : c_int = -2 ;
1297
- pub const SI_MESGQ : c_int = -3 ;
1298
- pub const SI_ASYNCIO : c_int = -4 ;
1296
+ cfg_if ! {
1297
+ if #[ cfg( not( any( target_arch = "mips" , target_arch = "mips32r6" ) ) ) ] {
1298
+ pub const SI_TIMER : c_int = -2 ;
1299
+ pub const SI_MESGQ : c_int = -3 ;
1300
+ pub const SI_ASYNCIO : c_int = -4 ;
1301
+ } else {
1302
+ pub const SI_TIMER : c_int = -3 ;
1303
+ pub const SI_MESGQ : c_int = -4 ;
1304
+ pub const SI_ASYNCIO : c_int = -2 ;
1305
+ }
1306
+ }
1299
1307
pub const SI_SIGIO : c_int = -5 ;
1300
1308
pub const SI_TKILL : c_int = -6 ;
1301
1309
pub const SI_ASYNCNL : c_int = -60 ;
You can’t perform that action at this time.
0 commit comments