mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:43:31 +03:00
windows: assume USE_WIN32_LARGE_FILES
All Windows platforms support it. It was permanently enabled with most build methods. The exception is autotools where it is enabled by default, with an option to disable it. It changed the build in a few places for rarely tested code paths, but not bringing other advantages (and used some 64-bit APIs anyway). This patch makes autotools' `--disable-largefile` option a no-op for Windows. Closes #19888
This commit is contained in:
parent
073b85cefe
commit
163705db75
9 changed files with 15 additions and 72 deletions
|
|
@ -38,7 +38,7 @@ int tool_seek_cb(void *userdata, curl_off_t offset, int whence)
|
|||
{
|
||||
struct per_transfer *per = userdata;
|
||||
|
||||
#if (SIZEOF_CURL_OFF_T > SIZEOF_OFF_T) && !defined(USE_WIN32_LARGE_FILES)
|
||||
#if (SIZEOF_CURL_OFF_T > SIZEOF_OFF_T) && !defined(_WIN32)
|
||||
|
||||
/* OUR_MAX_SEEK_L has 'long' data type, OUR_MAX_SEEK_O has 'curl_off_t,
|
||||
both represent the same value. Maximum offset used here when we lseek
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue