diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-03-15 20:43:30 +0100 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-03-15 20:43:30 +0100 |
commit | ea4b7cd39ef8e4c3359e84c5cd456ba757ddf31c (patch) | |
tree | c2f6095710a42fa1b215890f3766b33a07182cfb | |
parent | cb511536592a62cfec63c7d3b13e9b470f760ff7 (diff) | |
download | libmicrohttpd-ea4b7cd39ef8e4c3359e84c5cd456ba757ddf31c.tar.gz libmicrohttpd-ea4b7cd39ef8e4c3359e84c5cd456ba757ddf31c.zip |
add missing mhd_winsock_inited_ to src/lib/init.c
-rw-r--r-- | src/lib/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
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_); | |||
41 | 41 | ||
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #if defined(_WIN32) && ! defined(__CYGWIN__) | ||
45 | /** | ||
46 | * Track initialization of winsock | ||
47 | */ | ||
48 | static int mhd_winsock_inited_ = 0; | ||
49 | #endif | ||
44 | 50 | ||
45 | /** | 51 | /** |
46 | * Default implementation of the panic function, | 52 | * Default implementation of the panic function, |