summaryrefslogtreecommitdiff
path: root/lib/multihandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/multihandle.h')
-rw-r--r--lib/multihandle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/multihandle.h b/lib/multihandle.h
index 91eca16c4a..94bbad77a0 100644
--- a/lib/multihandle.h
+++ b/lib/multihandle.h
@@ -138,10 +138,14 @@ struct Curl_multi {
previous callback */
unsigned int max_concurrent_streams;
+#ifdef USE_WINSOCK
+ WSAEVENT wsa_event; /* winsock event used for waits */
+#else
#ifdef ENABLE_WAKEUP
curl_socket_t wakeup_pair[2]; /* socketpair() used for wakeup
0 is used for read, 1 is used for write */
#endif
+#endif
/* multiplexing wanted */
bool multiplexing;
bool recheckstate; /* see Curl_multi_connchanged */