File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1611,8 +1611,8 @@ fn test_freebsd(target: &str) {
1611
1611
| "TCP_PCAP_OUT"
1612
1612
| "TCP_PCAP_IN"
1613
1613
| "IP_BINDMULTI"
1614
- | "IP_ORIGDSTADDR "
1615
- | "IP_RECVORIGDSTADDR "
1614
+ | "IP_ORIGDSTADDR"
1615
+ | "IP_RECVORIGDSTADDR"
1616
1616
| "IPV6_ORIGDSTADDR"
1617
1617
| "IPV6_RECVORIGDSTADDR"
1618
1618
| "PD_CLOEXEC"
@@ -1657,11 +1657,11 @@ fn test_freebsd(target: &str) {
1657
1657
"execv" | "execve" | "execvp" | "execvpe" | "fexecve" => true ,
1658
1658
1659
1659
// These functions were added in FreeBSD 11:
1660
- "fdatasync" | "aio_waitcomplete" | "mq_getfd_np"
1661
- if Some ( 10 ) == freebsd_ver =>
1662
- {
1663
- true
1664
- }
1660
+ "fdatasync" | "mq_getfd_np" if Some ( 10 ) == freebsd_ver => true ,
1661
+
1662
+ // This function changed its return type from `int` in FreeBSD10 to
1663
+ // `ssize_t` in FreeBSD11:
1664
+ "aio_waitcomplete" if Some ( 10 ) == freebsd_ver => true ,
1665
1665
1666
1666
// The `uname` function in the `utsname.h` FreeBSD header is a C
1667
1667
// inline function (has no symbol) that calls the `__xuname` symbol.
You can’t perform that action at this time.
0 commit comments