This commit is contained in:
Evgeny Grin (Karlson2k)
2017-11-26 19:38:06 +03:00
parent 7738609fe2
commit d178fff343
+1 -1
View File
@@ -5489,7 +5489,7 @@ MHD_start_daemon_va (unsigned int flags,
/* Apply the socket options according to listening_address_reuse. */
if (0 == daemon->listening_address_reuse)
{
#ifdef MHD_WINSOCK_SOCKETS
#ifndef MHD_WINSOCK_SOCKETS
/* No user requirement, use "traditional" default SO_REUSEADDR
* on non-W32 platforms, and do not fail if it doesn't work.
* Don't use it on W32, because on W32 it will allow multiple