mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Move SIO_IDEAL_SEND_BACKLOG_QUERY into socket.h
This commit is contained in:
parent
b21108f839
commit
080069c7b3
2 changed files with 4 additions and 3 deletions
|
@ -10,9 +10,6 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY
|
|
||||||
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747b
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
#include "lib/cc/torint.h"
|
#include "lib/cc/torint.h"
|
||||||
#include "lib/testsupport/testsupport.h"
|
#include "lib/testsupport/testsupport.h"
|
||||||
|
|
|
@ -113,4 +113,8 @@ STATIC int tor_ersatz_socketpair(int family, int type, int protocol,
|
||||||
#endif
|
#endif
|
||||||
#endif /* defined(COMPAT_PRIVATE) */
|
#endif /* defined(COMPAT_PRIVATE) */
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(SIO_IDEAL_SEND_BACKLOG_QUERY)
|
||||||
|
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747b
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue