From 690967f64b4df832ff720b0219c04698d494b248 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 27 Oct 2023 10:32:45 +0000 Subject: [PATCH] try curl patch 12217 --- curl.dev.patch | 1 + curl.patch | 16 ++++++++++++++++ curl.test.patch | 1 + 3 files changed, 18 insertions(+) create mode 120000 curl.dev.patch create mode 100644 curl.patch create mode 120000 curl.test.patch diff --git a/curl.dev.patch b/curl.dev.patch new file mode 120000 index 000000000..db80a78a4 --- /dev/null +++ b/curl.dev.patch @@ -0,0 +1 @@ +curl.patch \ No newline at end of file diff --git a/curl.patch b/curl.patch new file mode 100644 index 000000000..58589e07a --- /dev/null +++ b/curl.patch @@ -0,0 +1,16 @@ +diff --git a/lib/curl_setup.h b/lib/curl_setup.h +index ba14972e2..4ee0aa0a3 100644 +--- a/lib/curl_setup.h ++++ b/lib/curl_setup.h +@@ -28,6 +28,11 @@ + #define CURL_NO_OLDIES + #endif + ++/* Set default _WIN32_WINNT */ ++#ifdef __MINGW32__ ++#include <_mingw.h> ++#endif ++ + /* + * Disable Visual Studio warnings: + * 4127 "conditional expression is constant" diff --git a/curl.test.patch b/curl.test.patch new file mode 120000 index 000000000..db80a78a4 --- /dev/null +++ b/curl.test.patch @@ -0,0 +1 @@ +curl.patch \ No newline at end of file