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
835682661c #10597 (v8.0.0).

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

Closes #15957
This commit is contained in:
Viktor Szakats 2025-01-09 15:42:34 +01:00
parent 95658f9ca3
commit ccf43ce91d
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 18 additions and 60 deletions

View file

@ -41,11 +41,9 @@ typedef enum {
SANITIZEcode sanitize_file_name(char **const sanitized, const char *file_name,
int flags);
#if defined(MSDOS) && (defined(__DJGPP__) || defined(__GO32__))
#ifdef __DJGPP__
char **__crt0_glob_function(char *arg);
#endif /* MSDOS && (__DJGPP__ || __GO32__) */
#endif
#ifdef _WIN32