mirror of
https://github.com/curl/curl.git
synced 2026-04-14 23:01:41 +03:00
src: drop detecting and redefining system symbol ftruncate
Introduce `toolx_ftruncate()` macro and map it to existing replacements
for non-mingw-w64 Windows and DJGPP, or to `ftruncate` otherwise.
Follow-up to 6041b9b11b #21109
Closes #21130
This commit is contained in:
parent
335dc0e3c5
commit
20b18a43f6
14 changed files with 17 additions and 135 deletions
|
|
@ -252,9 +252,6 @@
|
|||
/* Define to 1 if you have the fseeko declaration. */
|
||||
#cmakedefine HAVE_DECL_FSEEKO 1
|
||||
|
||||
/* Define to 1 if you have the ftruncate function. */
|
||||
#cmakedefine HAVE_FTRUNCATE 1
|
||||
|
||||
/* Define to 1 if you have a working getaddrinfo function. */
|
||||
#cmakedefine HAVE_GETADDRINFO 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue