aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <s@saghul.net>2024-04-22 10:36:10 +0200
committerSaúl Ibarra Corretgé <s@saghul.net>2024-04-22 20:39:20 +0200
commit497f3168d13ea9a92ad18c28e8282777ec2acf73 (patch)
treef1a165aabcc73ef3ae47d2bb149507bd4cb39fc5 /src
parent8083ab26e0f7c163d131a0509f876f50ed4c110d (diff)
downloadlibuv-497f3168d13ea9a92ad18c28e8282777ec2acf73.tar.gz
libuv-497f3168d13ea9a92ad18c28e8282777ec2acf73.zip
win: remove no longer needed define
Windows 7 is no longer supported.
Diffstat (limited to 'src')
-rw-r--r--src/win/tcp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/win/tcp.c b/src/win/tcp.c
index c2efc481..53225e3d 100644
--- a/src/win/tcp.c
+++ b/src/win/tcp.c
@@ -1557,11 +1557,6 @@ int uv__tcp_connect(uv_connect_t* req,
return 0;
}
-#ifndef WSA_FLAG_NO_HANDLE_INHERIT
-/* Added in Windows 7 SP1. Specify this to avoid race conditions, */
-/* but also manually clear the inherit flag in case this failed. */
-#define WSA_FLAG_NO_HANDLE_INHERIT 0x80
-#endif
int uv_socketpair(int type, int protocol, uv_os_sock_t fds[2], int flags0, int flags1) {
SOCKET server = INVALID_SOCKET;