mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:13:32 +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
|
|
@ -497,7 +497,7 @@
|
|||
* Small file (<2Gb) support using Win32 functions.
|
||||
*/
|
||||
|
||||
#ifdef USE_WIN32_SMALL_FILES
|
||||
#if defined(_WIN32) && !defined(USE_WIN32_LARGE_FILES)
|
||||
# include <io.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue