Skip to content

Commit

Permalink
Disable FreeBSD/Linuxulator override until we can distinguish from Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Feb 21, 2024
1 parent 958cc9d commit ca6d0ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions junixsocket-native/src/main/c/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ extern "C" {
# define junixsocket_have_tipc 1

// This is not strictly necessary for Linux proper,
// but this feature unbreaks Linux emulation on FreeBSD
// We assume the overhead of another syscall is acceptable in this case.
# define junixsocket_use_poll_for_accept
// but enabling this feature unbreaks Linux emulation on FreeBSD
// (disabled until we can figure out how to avoid the overhead unless we're in Linuxulator)
// # define junixsocket_use_poll_for_accept

#endif // __linux__

Expand Down

0 comments on commit ca6d0ad

Please sign in to comment.