Skip to content

Commit

Permalink
change define to NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Feb 20, 2024
1 parent 8bcb794 commit 8ae31ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toxcore/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ Networking_Core *new_networking_ex(
*/
int n = 1024 * 1024 * 2;

#if !defined(__FreeBSD__)
#if !(defined(__NetBSD__))
if (net_setsockopt(ns, temp->sock, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n)) != 0) {
LOGGER_ERROR(log, "failed to set socket option %d", SO_RCVBUF);
}
Expand Down

0 comments on commit 8ae31ec

Please sign in to comment.