Skip to content

Commit d8d80fd

Browse files
committed
Guard IPPROT_MPTCP on Linux only
1 parent 2f1463f commit d8d80fd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rules/ip/src.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ int f4() {
1616
return IPPROTO_IPV6;
1717
}
1818

19+
#if defined(__linux__)
1920
int f5() {
2021
return IPPROTO_MPTCP;
2122
}
23+
#endif

0 commit comments

Comments
 (0)