From ca6d0adc4faf87cc191d5e449457fc6050002280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kohlschu=CC=88tter?= Date: Wed, 21 Feb 2024 17:57:07 +0100 Subject: [PATCH] Disable FreeBSD/Linuxulator override until we can distinguish from Linux --- junixsocket-native/src/main/c/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/junixsocket-native/src/main/c/config.h b/junixsocket-native/src/main/c/config.h index f90bfe915..afe8df564 100644 --- a/junixsocket-native/src/main/c/config.h +++ b/junixsocket-native/src/main/c/config.h @@ -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__