diff options
author | Viktor Szakats <commit@vsz.me> | 2022-11-11 20:12:15 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2022-11-11 20:12:40 +0000 |
commit | 83c4c1a056ddee1fe3161a783d685b72ed7eebd2 (patch) | |
tree | 0d002538a7001fc8be66f7284769c70e8d5fd17a /lib/transfer.c | |
parent | bf12c2bed692a1cc62b8a3a76eb61e15d50cc74f (diff) | |
download | curl-83c4c1a056ddee1fe3161a783d685b72ed7eebd2.tar.gz |
config-win32: fix SIZEOF_OFF_T for MSVC and old MinGW
The previously set default value of 8 (64-bit) is only correct for
mingw-w64 and only when we set `_FILE_OFFSET_BITS` to 64 (the default
when building curl). For MSVC, old MinGW and other Windows compilers,
the correct value is 4 (32-bit). Adjust condition accordingly. Also
drop the manual override option.
Regression in 7.86.0 (from 68fa9bf3f5d7b4fcbb57619f70cb4aabb79a51f6)
Bug: https://github.com/curl/curl/pull/9712#issuecomment-1307330551
Reported-by: Peter Piekarski
Reviewed-by: Jay Satiro
Closes #9872
Diffstat (limited to 'lib/transfer.c')
0 files changed, 0 insertions, 0 deletions