From 525c0739573e1c137963c9a02ec1a365788dde56 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 4 Sep 2021 11:47:30 -0600 Subject: Remove SigevNotify on OpenBSD and Redox Because nothing uses it on those OSes. --- src/sys/signal.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/signal.rs') 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 -- cgit v1.2.3