summaryrefslogtreecommitdiff
path: root/src/sys/signal.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-09-04 11:47:30 -0600
committerAlan Somers <asomers@gmail.com>2021-09-04 11:48:09 -0600
commit525c0739573e1c137963c9a02ec1a365788dde56 (patch)
treeb8e363dd06bf3f8600da814adc9d7a4282d4b491 /src/sys/signal.rs
parentb6f7da61d879c67111e179a261149678d73e266f (diff)
downloadnix-525c0739573e1c137963c9a02ec1a365788dde56.zip
Remove SigevNotify on OpenBSD and Redox
Because nothing uses it on those OSes.
Diffstat (limited to 'src/sys/signal.rs')
-rw-r--r--src/sys/signal.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs
index ffcbf4a0..1011930f 100644
--- a/src/sys/signal.rs
+++ b/src/sys/signal.rs
@@ -925,6 +925,7 @@ pub type type_of_thread_id = libc::pid_t;
// sigval is actually a union of a int and a void*. But it's never really used
// as a pointer, because neither libc nor the kernel ever dereference it. nix
// therefore presents it as an intptr_t, which is how kevent uses it.
+#[cfg(not(any(target_os = "openbsd", target_os = "redox")))]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum SigevNotify {
/// No notification will be delivered