Skip to content

Commit

Permalink
Dont use EV_SYSFLAGS on OpenBSD
Browse files Browse the repository at this point in the history
It's stable across OS versions.
  • Loading branch information
Thomasdezeeuw committed Jun 9, 2024
1 parent 5200f6c commit bf14d12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sys/unix/selector/kqueue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,8 @@ pub mod event {
libc::EV_FLAG1,
libc::EV_ERROR,
libc::EV_EOF,
// Not stable across OS versions on OpenBSD.
#[cfg(not(target_os = "openbsd"))]
libc::EV_SYSFLAGS,
#[cfg(any(
target_os = "ios",
Expand Down

0 comments on commit bf14d12

Please sign in to comment.