]> git.ipfire.org Git - thirdparty/curl.git/commit
system.h: drop compilers lacking 64-bit integer type (Windows/MS-DOS)
authorViktor Szakats <commit@vsz.me>
Thu, 9 Jan 2025 14:42:34 +0000 (15:42 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 10 Jan 2025 21:46:19 +0000 (22:46 +0100)
commitccf43ce91dd9a56f30a4029377126e4c83c7f08a
tree7e21df3caf48140d882418afa275df2d00e5680d
parent95658f9ca325b4fa4e77fb0f59ebb24da4e30cdc
system.h: drop compilers lacking 64-bit integer type (Windows/MS-DOS)

- DJGPP 1.x (including `__GO32__`) (MS-DOS)
  DJGPP 2.x support remains unchanged.
- Salford C (Windows)
- Turbo C (Windows 16-bit)
- Borland C++ < 5.2 (Windows 16-bit?)
- Pelles C < 2.8 (Windows)

These targets mapped `curl_off_t` to `long`. On Windows and MS-DOS
`long` is always 32-bit.

curl requires C compilers supporting 64-bit `curl_off_t` type since
835682661c7a36b0e860c978204e8cd9b033be45 #10597 (v8.0.0).

Also: drop remaining `__GO32__` and Salford C guards.

Closes #15957
include/curl/system.h
src/tool_doswin.c
src/tool_doswin.h
src/tool_main.c