File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ libc_bitflags!(
2020 EPOLLRDHUP ,
2121 #[ cfg( target_os = "linux" ) ] // Added in 4.5; not in Android.
2222 EPOLLEXCLUSIVE ,
23+ #[ cfg( not( target_arch = "mips" ) ) ]
2324 EPOLLWAKEUP ,
2425 EPOLLONESHOT ,
2526 EPOLLET ,
Original file line number Diff line number Diff line change @@ -467,9 +467,9 @@ impl SigEvent {
467467 SigevNotify :: SigevKevent { ..} => libc:: SIGEV_KEVENT ,
468468 #[ cfg( target_os = "freebsd" ) ]
469469 SigevNotify :: SigevThreadId { ..} => libc:: SIGEV_THREAD_ID ,
470- #[ cfg( all( target_os = "linux" , target_env = "gnu" ) ) ]
470+ #[ cfg( all( target_os = "linux" , target_env = "gnu" , not ( target_arch = "mips" ) ) ) ]
471471 SigevNotify :: SigevThreadId { ..} => libc:: SIGEV_THREAD_ID ,
472- #[ cfg( all( target_os = "linux" , target_env = "musl" ) ) ]
472+ #[ cfg( any ( all( target_os = "linux" , target_env = "musl" ) , target_arch = "mips ") ) ]
473473 SigevNotify :: SigevThreadId { ..} => 4 // No SIGEV_THREAD_ID defined
474474 } ;
475475 sev. sigev_signo = match sigev_notify {
You can’t perform that action at this time.
0 commit comments