gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 30/36: Fixed compiler warning when built without poll()


From: gnunet
Subject: [libmicrohttpd] 30/36: Fixed compiler warning when built without poll() support
Date: Thu, 01 Jun 2023 12:30:35 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5da716e8c2267a1b8a2fe82506e872c8491645c2
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu May 25 13:22:58 2023 +0300

    Fixed compiler warning when built without poll() support
---
 src/microhttpd/daemon.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index b14e68f3..14ef7e2a 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -4139,6 +4139,7 @@ MHD_get_timeout64 (struct MHD_Daemon *daemon,
 }
 
 
+#if defined(HAVE_POLL) || defined(EPOLL_SUPPORT)
 /**
  * Obtain timeout value for external polling function for this daemon.
  *
@@ -4301,6 +4302,8 @@ get_timeout_millisec_int (struct MHD_Daemon *daemon,
 }
 
 
+#endif /* HAVE_POLL || EPOLL_SUPPORT */
+
 /**
  * Internal version of #MHD_run_from_select().
  *

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]