diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-17 10:43:08 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-17 10:43:08 +0300 |
commit | 31360bbd07d2a8b0f1f0af9dc66cc2c0cd879c00 (patch) | |
tree | d9cf11318ee8ed931d2cc18e02d2609b2734b91c /src | |
parent | b3b6c570dac24d6bfd39c4c72e2d52ecf491fcf5 (diff) | |
download | libmicrohttpd-31360bbd07d2a8b0f1f0af9dc66cc2c0cd879c00.tar.gz libmicrohttpd-31360bbd07d2a8b0f1f0af9dc66cc2c0cd879c00.zip |
mhd_sockets: minor macro correction
Diffstat (limited to 'src')
-rw-r--r-- | src/microhttpd/mhd_sockets.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h index 9ff2e372..d09cc522 100644 --- a/src/microhttpd/mhd_sockets.h +++ b/src/microhttpd/mhd_sockets.h | |||
@@ -205,7 +205,8 @@ typedef SOCKET MHD_socket; | |||
205 | #endif | 205 | #endif |
206 | 206 | ||
207 | #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ | 207 | #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ |
208 | defined(MHD_WINSOCK_SOCKETS) || defined(__MACH__) || defined(__sun) | 208 | defined(MHD_WINSOCK_SOCKETS) || defined(__MACH__) || defined(__sun) || \ |
209 | defined(SOMEBSD) | ||
209 | /* Most of OSes inherit nonblocking setting from the listen socket */ | 210 | /* Most of OSes inherit nonblocking setting from the listen socket */ |
210 | #define MHD_ACCEPT_INHERIT_NONBLOCK 1 | 211 | #define MHD_ACCEPT_INHERIT_NONBLOCK 1 |
211 | #endif | 212 | #endif |