-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
getaddrinfo
curl build regression
Ref: curl/curl#12217
- Loading branch information
Showing
4 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
curl.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
curl.patch |