[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed compatibility with platforms w
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed compatibility with platforms without poll() |
Date: |
Mon, 10 Apr 2017 17:40:15 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 4a4e93fb5a5243c2208a87cd3485bd2979dac2a5
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Mon Apr 10 18:03:11 2017 +0300
Fixed compatibility with platforms without poll()
---
src/microhttpd/daemon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index b92d5534..49a1b828 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -814,6 +814,7 @@ urh_from_fdset (struct MHD_UpgradeResponseHandle *urh,
}
}
+#ifdef HAVE_POLL
/**
* Set required 'event' members in 'pollfd' elements,
@@ -904,6 +905,7 @@ urh_from_pollfd(struct MHD_UpgradeResponseHandle *urh,
if (0 != (p[1].revents & MHD_POLL_REVENTS_ERRROR))
urh->mhd.celi |= MHD_EPOLL_STATE_READ_READY | MHD_EPOLL_STATE_WRITE_READY;
}
+#endif /* HAVE_POLL */
#endif /* HTTPS_SUPPORT && UPGRADE_SUPPORT */
--
To stop receiving notification emails like this one, please contact
address@hidden