libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 31360bbd07d2a8b0f1f0af9dc66cc2c0cd879c00
parent b3b6c570dac24d6bfd39c4c72e2d52ecf491fcf5
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Fri, 17 Dec 2021 10:43:08 +0300

mhd_sockets: minor macro correction

Diffstat:
Msrc/microhttpd/mhd_sockets.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h @@ -205,7 +205,8 @@ typedef SOCKET MHD_socket; #endif #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ - defined(MHD_WINSOCK_SOCKETS) || defined(__MACH__) || defined(__sun) + defined(MHD_WINSOCK_SOCKETS) || defined(__MACH__) || defined(__sun) || \ + defined(SOMEBSD) /* Most of OSes inherit nonblocking setting from the listen socket */ #define MHD_ACCEPT_INHERIT_NONBLOCK 1 #endif