mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
mingw: delete support for legacy mingw.org toolchain
Drop support for "old" / "legacy" / "classic" / "v1" / "mingw32" MinGW: https://en.wikipedia.org/wiki/MinGW, https://osdn.net/projects/mingw/ Its homepage used to be http://mingw.org/ [no HTTPS], and broken now. It supported the x86 CPU only and used a old Windows API header and implib set, often causing issues. It also misses most modern Windows features, offering old versions of both binutils and gcc (no llvm/clang support). It was last updated 2 years ago. curl now relies on toolchains based on the mingw-w64 project: https://www.mingw-w64.org/ https://sourceforge.net/projects/mingw-w64/ https://www.msys2.org/ https://github.com/msys2/msys2 https://github.com/mstorsjo/llvm-mingw (Also available via Linux and macOS package managers.) Closes #11625
This commit is contained in:
parent
65b563a96a
commit
38029101e2
19 changed files with 32 additions and 519 deletions
|
|
@ -31,13 +31,6 @@
|
|||
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x600
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#ifndef __MINGW64_VERSION_MAJOR
|
||||
#if (__MINGW32_MAJOR_VERSION < 5) || \
|
||||
(__MINGW32_MAJOR_VERSION == 5 && __MINGW32_MINOR_VERSION == 0)
|
||||
/* mingw >= 5.0.1 defines SRWLOCK, and slightly different from MS define */
|
||||
typedef PVOID SRWLOCK, *PSRWLOCK;
|
||||
#endif
|
||||
#endif
|
||||
#ifndef SRWLOCK_INIT
|
||||
#define SRWLOCK_INIT NULL
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue