mirror of
https://github.com/curl/curl.git
synced 2026-05-18 12:46:20 +03:00
curl_log: avoid printf() format checking with mingw
Since it does not seem to like %zu and more
Follow-up to db91dbbf2
Fixes #10291
Closes #10292
This commit is contained in:
parent
e6b72644c2
commit
521da2dbd3
1 changed files with 3 additions and 2 deletions
|
|
@ -81,8 +81,9 @@ void Curl_debug(struct Curl_easy *data, curl_infotype type,
|
|||
#endif
|
||||
|
||||
void Curl_log_cf_debug(struct Curl_easy *data, struct Curl_cfilter *cf,
|
||||
#if defined(__GNUC__) && !defined(printf) && \
|
||||
defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
||||
#if defined(__GNUC__) && !defined(printf) && \
|
||||
defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \
|
||||
!defined(__MINGW32__)
|
||||
const char *fmt, ...)
|
||||
__attribute__((format(printf, 3, 4)));
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue