build: assume snprintf() in mprintf, drop feature check

- it was already required for `curl_*printf()` float/double support.
- some curl tests always fail without it.
- it was already assumed to be present to build test servers.
  Source code did not check for `HAVE_SNPRINTF` detection variable.
- it was already required to build examples.

Windows builds stopped using this detection and the function via earlier
commits.

Follow-up to 64f28b8f88 #20765
Follow-up to 935b1bd454 #9570 #9569

Closes #20763
This commit is contained in:
Viktor Szakats 2026-02-27 16:10:59 +01:00
parent 89043ba906
commit a8bc4cbcfe
No known key found for this signature in database
5 changed files with 1 additions and 10 deletions

View file

@ -4198,7 +4198,6 @@ if test "$curl_cv_native_windows" != "yes"; then
if_nametoindex \
realpath \
sched_yield \
snprintf \
])
CURL_CHECK_FUNC_INET_NTOP
CURL_CHECK_FUNC_INET_PTON