]> git.ipfire.org Git - thirdparty/curl.git/commit
windows: drop redundant `USE_WIN32_SMALL_FILES` macro
authorViktor Szakats <commit@vsz.me>
Sat, 11 Jan 2025 02:22:10 +0000 (03:22 +0100)
committerViktor Szakats <commit@vsz.me>
Sat, 11 Jan 2025 23:34:21 +0000 (00:34 +0100)
commit7eb4ddb850d3757ac9e0b60b0198bbb11e83135e
treedeac3dfe0ca45dcaada070ec8006afd5222e39b9
parentb9840814adbb01606377b02c65608db0f30461a6
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
acinclude.m4
lib/config-win32.h
lib/config-win32ce.h
lib/curl_multibyte.c
lib/curl_setup.h
src/tool_cb_see.c