Fix select macros

This commit is contained in:
Jeremy Soller
2025-05-06 11:34:48 -06:00
parent 70d6a11606
commit 38cca8acc0
2 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ use crate::{
// fd_set is also defined in C because cbindgen is incompatible with mem::size_of booo
pub const FD_SETSIZE: usize = 1024;
type bitset = BitSet<[u64; FD_SETSIZE / (8 * mem::size_of::<u64>())]>;
type bitset = BitSet<[c_ulong; FD_SETSIZE / (8 * mem::size_of::<c_ulong>())]>;
#[repr(C)]
pub struct fd_set {