diff options
Diffstat (limited to 'src/sys/event.rs')
-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 a96dd07c..e0125f47 100644 --- a/src/sys/event.rs +++ b/src/sys/event.rs @@ -34,7 +34,7 @@ type type_of_data = libc::int64_t; type type_of_event_filter = u32; #[cfg(not(target_os = "netbsd"))] type type_of_event_filter = i16; -libc_enum!{ +libc_enum! { #[cfg_attr(target_os = "netbsd", repr(u32))] #[cfg_attr(not(target_os = "netbsd"), repr(i16))] pub enum EventFilter { @@ -59,7 +59,7 @@ libc_enum!{ target_os = "ios", target_os = "macos"))] EVFILT_USER, - #[cfg(any(target_os = "ios", target_os = "macos"))] + #[cfg(any(target_os = "macos", target_os = "ios"))] EVFILT_VM, EVFILT_VNODE, EVFILT_WRITE, |