mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:43:34 +03:00
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:
parent
95658f9ca3
commit
ccf43ce91d
4 changed files with 18 additions and 60 deletions
|
|
@ -550,8 +550,7 @@ static SANITIZEcode rename_if_reserved_dos(char **const sanitized,
|
|||
return (*sanitized ? SANITIZE_ERR_OK : SANITIZE_ERR_OUT_OF_MEMORY);
|
||||
}
|
||||
|
||||
#if defined(MSDOS) && (defined(__DJGPP__) || defined(__GO32__))
|
||||
|
||||
#ifdef __DJGPP__
|
||||
/*
|
||||
* Disable program default argument globbing. We do it on our own.
|
||||
*/
|
||||
|
|
@ -560,8 +559,7 @@ char **__crt0_glob_function(char *arg)
|
|||
(void)arg;
|
||||
return (char **)0;
|
||||
}
|
||||
|
||||
#endif /* MSDOS && (__DJGPP__ || __GO32__) */
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue