gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 05/08: configure: removed unused HAVE_DECL_SOCK_NONBLOCK


From: gnunet
Subject: [libmicrohttpd] 05/08: configure: removed unused HAVE_DECL_SOCK_NONBLOCK macro from MHD_config.h
Date: Mon, 25 Oct 2021 15:58:55 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit f971d78f31a0ccd3448f65c8854493e9b871a4f3
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Oct 25 15:16:22 2021 +0300

    configure: removed unused HAVE_DECL_SOCK_NONBLOCK macro from MHD_config.h
---
 configure.ac | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7b363d6d..b922e2c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1609,8 +1609,8 @@ errno_t gmtime_s(struct tm* _tm, const time_t* time);
 #include <time.h>]])
 
 
-AC_CHECK_DECLS([SOCK_NONBLOCK], [AC_DEFINE([HAVE_SOCK_NONBLOCK], [1], 
[SOCK_NONBLOCK is defined in a socket header])], [],
-                   [
+AC_CHECK_DECL([SOCK_NONBLOCK], [AC_DEFINE([HAVE_SOCK_NONBLOCK], [1], 
[SOCK_NONBLOCK is defined in a socket header])], [],
+  [[
 #if defined(HAVE_SYS_TYPES_H)
 #  include <sys/types.h>
 #endif
@@ -1619,7 +1619,8 @@ AC_CHECK_DECLS([SOCK_NONBLOCK], 
[AC_DEFINE([HAVE_SOCK_NONBLOCK], [1], [SOCK_NONB
 #elif defined(HAVE_WINSOCK2_H)
 #  include <winsock2.h>
 #endif
-                   ])
+  ]]
+)
 
 
 AC_CHECK_DECL([[clock_gettime]],

-- 
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]