diff options
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/event.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/event.rs b/src/sys/event.rs index 5dcf121a..58e48c91 100644 --- a/src/sys/event.rs +++ b/src/sys/event.rs @@ -86,7 +86,7 @@ impl Kqueue { target_os = "openbsd" ))] type type_of_udata = *mut libc::c_void; -#[cfg(any(target_os = "netbsd"))] +#[cfg(target_os = "netbsd")] type type_of_udata = intptr_t; #[cfg(target_os = "netbsd")] @@ -171,7 +171,7 @@ libc_enum! { ))] #[doc(hidden)] pub type type_of_event_flag = u16; -#[cfg(any(target_os = "netbsd"))] +#[cfg(target_os = "netbsd")] #[doc(hidden)] pub type type_of_event_flag = u32; libc_bitflags! { |