[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix FTBFS issues on
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix FTBFS issues on MinGW |
Date: |
Sat, 10 Mar 2018 12:02:35 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 303440c8 fix FTBFS issues on MinGW
303440c8 is described below
commit 303440c84256a0276ce3afa38975d84da3966d27
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Mar 10 12:02:33 2018 +0100
fix FTBFS issues on MinGW
---
src/lib/daemon_start.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/lib/daemon_start.c b/src/lib/daemon_start.c
index 8e4a2c64..617a527a 100644
--- a/src/lib/daemon_start.c
+++ b/src/lib/daemon_start.c
@@ -113,7 +113,7 @@ configure_listen_reuse (struct MHD_Daemon *daemon)
*/
#if (defined(MHD_WINSOCK_SOCKETS) && defined(SO_EXCLUSIVEADDRUSE)) || \
(defined(__sun) && defined(SO_EXCLBIND))
- if (0 > setsockopt (listen_fd,
+ if (0 > setsockopt (daemon->listen_socket,
SOL_SOCKET,
#ifdef SO_EXCLUSIVEADDRUSE
SO_EXCLUSIVEADDRUSE,
@@ -627,8 +627,12 @@ MHD_polling_thread (void *cls)
MHD_YES);
break;
case MHD_ELS_POLL:
+#if HAVE_POLL
MHD_daemon_poll_ (daemon,
MHD_YES);
+#else
+ MHD_PANIC ("MHD_ELS_POLL not supported, should have failed earlier");
+#endif
break;
case MHD_ELS_EPOLL:
#ifdef EPOLL_SUPPORT
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: fix FTBFS issues on MinGW,
gnunet <=