Skip to content

Commit f916cb8

Browse files
committed
SIGSTKFLT doesn't exist on Linux/GNU/mips(64)
1 parent 6dd3625 commit f916cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sys/signal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub enum Signal {
3232
SIGPIPE = libc::SIGPIPE,
3333
SIGALRM = libc::SIGALRM,
3434
SIGTERM = libc::SIGTERM,
35-
#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(target_arch = "mips")))]
35+
#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(any(target_arch = "mips", target_arch = "mips64"))))]
3636
SIGSTKFLT = libc::SIGSTKFLT,
3737
SIGCHLD = libc::SIGCHLD,
3838
SIGCONT = libc::SIGCONT,
@@ -58,7 +58,7 @@ pub enum Signal {
5858

5959
pub use self::Signal::*;
6060

61-
#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(target_arch = "mips")))]
61+
#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(any(target_arch = "mips", target_arch = "mips64"))))]
6262
const SIGNALS: [Signal; 31] = [
6363
SIGHUP,
6464
SIGINT,

0 commit comments

Comments
 (0)