diff options
author | Bryant Mairs <bryant@mai.rs> | 2017-07-08 20:47:28 -0700 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2017-07-08 21:38:08 -0700 |
commit | 38d0e55ae5a7f12bf2e84c435f8a00281d72d128 (patch) | |
tree | a2fc0b3c71e4dcfc5a95396dc62b275e5485eb4d | |
parent | 6dd3625e45d3eb4c29000b04ad8c029e37e109f9 (diff) | |
download | nix-38d0e55ae5a7f12bf2e84c435f8a00281d72d128.zip |
SIGSTKFLT doesn't exist on Linux/GNU/mips(64)
-rw-r--r-- | src/sys/signal.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs index ee952369..309919b7 100644 --- a/src/sys/signal.rs +++ b/src/sys/signal.rs @@ -32,7 +32,7 @@ pub enum Signal { SIGPIPE = libc::SIGPIPE, SIGALRM = libc::SIGALRM, SIGTERM = libc::SIGTERM, - #[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(target_arch = "mips")))] + #[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(any(target_arch = "mips", target_arch = "mips64"))))] SIGSTKFLT = libc::SIGSTKFLT, SIGCHLD = libc::SIGCHLD, SIGCONT = libc::SIGCONT, @@ -58,7 +58,7 @@ pub enum Signal { pub use self::Signal::*; -#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(target_arch = "mips")))] +#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), not(any(target_arch = "mips", target_arch = "mips64"))))] const SIGNALS: [Signal; 31] = [ SIGHUP, SIGINT, @@ -91,7 +91,7 @@ const SIGNALS: [Signal; 31] = [ SIGIO, SIGPWR, SIGSYS]; -#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), target_arch = "mips"))] +#[cfg(all(any(target_os = "linux", target_os = "android", target_os = "emscripten"), any(target_arch = "mips", target_arch = "mips64")))] const SIGNALS: [Signal; 30] = [ SIGHUP, SIGINT, |