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 14, 2024
1 parent 0c44007 commit 424f7d4
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 @@ -539,6 +539,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 424f7d4

Please sign in to comment.