diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-03-04 15:27:18 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-03-04 16:24:17 +0100 |
commit | f9a8a811c7cc83cd0c74f23c7684e3ba4573903e (patch) | |
tree | 3e479d251f26da456da2d38acf85eb154a877b7c /third-party/patches | |
parent | 6b6e64dfeb6d0c2a059911ad25e52befc7944f12 (diff) | |
download | rneovim-f9a8a811c7cc83cd0c74f23c7684e3ba4573903e.tar.gz rneovim-f9a8a811c7cc83cd0c74f23c7684e3ba4573903e.tar.bz2 rneovim-f9a8a811c7cc83cd0c74f23c7684e3ba4573903e.zip |
revert: "build(deps): bump libuv to 1.43.0+7ae0c95"
This reverts commit 2da9450de57e6420480607ac2e83bc3cb1fa19e9.
Diffstat (limited to 'third-party/patches')
-rw-r--r-- | third-party/patches/libuv-disable-typedef-MinGW.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/third-party/patches/libuv-disable-typedef-MinGW.patch b/third-party/patches/libuv-disable-typedef-MinGW.patch new file mode 100644 index 0000000000..a47893cede --- /dev/null +++ b/third-party/patches/libuv-disable-typedef-MinGW.patch @@ -0,0 +1,19 @@ +diff --git a/include/uv/win.h b/include/uv/win.h +index f5f1d3a3..64a0dfd9 100644 +--- a/include/uv/win.h ++++ b/include/uv/win.h +@@ -45,7 +45,14 @@ typedef struct pollfd { + #endif + + #include <mswsock.h> ++// Disable the typedef in mstcpip.h of MinGW. ++#define _TCP_INITIAL_RTO_PARAMETERS _TCP_INITIAL_RTO_PARAMETERS__ ++#define TCP_INITIAL_RTO_PARAMETERS TCP_INITIAL_RTO_PARAMETERS__ ++#define PTCP_INITIAL_RTO_PARAMETERS PTCP_INITIAL_RTO_PARAMETERS__ + #include <ws2tcpip.h> ++#undef _TCP_INITIAL_RTO_PARAMETERS ++#undef TCP_INITIAL_RTO_PARAMETERS ++#undef PTCP_INITIAL_RTO_PARAMETERS + #include <windows.h> + + #include <process.h> |