Skip to content

Commit

Permalink
Fix compilation on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Sep 24, 2024
1 parent 2ca56ec commit 397ab70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/event/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use windows_sys::Win32::Networking::WinSock::FD_SET;

/// Storage element type for use with [`select`].
#[cfg(any(
linux_like,
windows,
all(
target_pointer_width = "64",
Expand All @@ -41,6 +42,7 @@ pub struct FdSetElement(pub(crate) u64);

/// Storage element type for use with [`select`].
#[cfg(not(any(
linux_like,
windows,
target_os = "wasi",
all(
Expand Down

0 comments on commit 397ab70

Please sign in to comment.