Skip to content

Commit

Permalink
win: remove no longer needed define
Browse files Browse the repository at this point in the history
Windows 7 is no longer supported.
  • Loading branch information
saghul committed Apr 22, 2024
1 parent 8083ab2 commit 497f316
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/win/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 497f316

Please sign in to comment.