mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:33:31 +03:00
msvc: require VS2005 for large file support
Large file support requires `_fseeki64()`. This function is offered in
VS2005 and upper.
VS2003 has it in the static CRT only, with declaration missing from
headers, so it's not usable.
Ref: https://archive.org/details/X10-38445 (MS Visual Studio .NET 2003)
Ref: 8b76a8aeb2 #15526
Closes #15958
This commit is contained in:
parent
81680a4070
commit
0ad30f0f64
2 changed files with 7 additions and 4 deletions
|
|
@ -387,7 +387,8 @@ Vista
|
|||
/* LARGE FILE SUPPORT */
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
/* _fseeki64() requires VS2005 */
|
||||
#if (defined(_MSC_VER) && (_MSC_VER >= 1400)) || defined(__MINGW32__)
|
||||
# define USE_WIN32_LARGE_FILES
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
# ifdef __MINGW32__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue