[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 02/03: add missing mhd_winsock_inited_ to s
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 02/03: add missing mhd_winsock_inited_ to src/lib/init.c |
Date: |
Thu, 15 Mar 2018 21:21:07 +0100 |
This is an automated email from the git hooks/post-receive script.
tim-ruehsen pushed a commit to branch master
in repository libmicrohttpd.
commit ea4b7cd39ef8e4c3359e84c5cd456ba757ddf31c
Author: Tim Rühsen <address@hidden>
AuthorDate: Thu Mar 15 20:43:30 2018 +0100
add missing mhd_winsock_inited_ to src/lib/init.c
---
src/lib/init.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/lib/init.c b/src/lib/init.c
index 8da693a9..b23bdadf 100644
--- a/src/lib/init.c
+++ b/src/lib/init.c
@@ -41,6 +41,12 @@ MHD_MUTEX_STATIC_DEFN_INIT_(global_init_mutex_);
#endif
+#if defined(_WIN32) && ! defined(__CYGWIN__)
+/**
+ * Track initialization of winsock
+ */
+static int mhd_winsock_inited_ = 0;
+#endif
/**
* Default implementation of the panic function,
--
To stop receiving notification emails like this one, please contact
address@hidden