Skip to content

Commit 204790a

Browse files
committed
Accept4 is linux specific
1 parent 310cfba commit 204790a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎rules/socket/tgt_refcount.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ fn f11(a0: i32, a1: i32, a2: i32, a3: Ptr<i32>) -> i32 {
203203
}
204204
}
205205

206+
#[cfg(target_os = "linux")]
206207
fn f15(a0: i32, a1: Ptr<Sockaddr>, a2: Ptr<u32>, a3: i32) -> i32 {
207208
let __flags = nix::sys::socket::SockFlag::from_bits_truncate(a3);
208209
let __raw = FdRegistry::with_fd(a0, |__fd| {

0 commit comments

Comments
 (0)