diff options
author | Bryant Mairs <bryantmairs@google.com> | 2017-11-05 08:20:24 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2017-11-05 09:23:48 -0800 |
commit | 5a7d5b1f8c836e44efdf6b9fe1d917619ce92e2d (patch) | |
tree | 0bd5f0119c29b0fee9de4bc85837f48fd6df3c46 /src/sys/aio.rs | |
parent | 7221a1ce5742e422983cc2e4f73f0aa29347c7df (diff) | |
download | nix-5a7d5b1f8c836e44efdf6b9fe1d917619ce92e2d.zip |
Fix kevent for netbsd filter datatype
The datatype for kevent.filter is u32 on NetBSD and
i16 on all other supported platforms. This was recently
fixed in upstream libc, breaking this API, so this
fixes it.
This change also modernizes the code a bit to unify the
EventFilter datatype across platforms and switch to the
libc_enum! macro.
Diffstat (limited to 'src/sys/aio.rs')
0 files changed, 0 insertions, 0 deletions