summaryrefslogtreecommitdiff
path: root/src/lib/net
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 10:55:38 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 12:21:52 -0400
commit080069c7b37d398447fe63bb3941d4412587978c (patch)
treea350725efeff339c662314761634fb40863dbb94 /src/lib/net
parentb21108f83948c9316245b104aab8b99e8ffe656d (diff)
downloadtor-080069c7b37d398447fe63bb3941d4412587978c.tar.gz
tor-080069c7b37d398447fe63bb3941d4412587978c.zip
Move SIO_IDEAL_SEND_BACKLOG_QUERY into socket.h
Diffstat (limited to 'src/lib/net')
-rw-r--r--src/lib/net/socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/net/socket.h b/src/lib/net/socket.h
index 99b0de4ff9..cb0ccbe817 100644
--- a/src/lib/net/socket.h
+++ b/src/lib/net/socket.h
@@ -113,4 +113,8 @@ STATIC int tor_ersatz_socketpair(int family, int type, int protocol,
#endif
#endif /* defined(COMPAT_PRIVATE) */
+#if defined(_WIN32) && !defined(SIO_IDEAL_SEND_BACKLOG_QUERY)
+#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747b
+#endif
+
#endif