Skip to content

Commit 279fcae

Browse files
committed
Add target_os=linux on IPPROTO_MPTCP
1 parent 8dddca3 commit 279fcae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rules/ip/tgt_unsafe.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ unsafe fn f4() -> i32 {
1414
libc::IPPROTO_IPV6
1515
}
1616

17+
#[cfg(target_os = "linux")]
1718
unsafe fn f5() -> i32 {
1819
libc::IPPROTO_MPTCP
1920
}

0 commit comments

Comments
 (0)