mirror of
https://github.com/curl/curl.git
synced 2026-07-24 02:37:18 +03:00
windows: drop redundant USE_WIN32_SMALL_FILES macro
In effect it meant `_WIN32 && !USE_WIN32_LARGE_FILES`. Replace it with these macros. Also: - configure: delete tautological check for small file support. - configure: delete stray `_MSC_VER` reference. autotools does not support MSVC. - drop tautological checks for WinCE in `config-win32*.h` when setting `USE_WIN32_LARGE_FILES`. - merge related PP logic. - prefer `#ifdef`, fix whitespace. Suggested-by: Marcel Raad Report: https://github.com/curl/curl/pull/15952#issuecomment-2580092328 Closes #15968
This commit is contained in:
parent
b9840814ad
commit
7eb4ddb850
6 changed files with 14 additions and 46 deletions
|
|
@ -49,7 +49,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(USE_WIN32_LARGE_FILES)
|
||||
|
||||
/* The offset check following here is only interesting if curl_off_t is
|
||||
larger than off_t and we are not using the Win32 large file support
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue