mirror of
https://github.com/curl/curl.git
synced 2026-07-24 21:07:28 +03:00
Some #if --> #ifdef
undef standard *printf before (re)defining them
This commit is contained in:
parent
2e60ca382d
commit
ad9cb40b6f
3 changed files with 12 additions and 2 deletions
|
|
@ -44,6 +44,16 @@ CURL_EXTERN char *curl_maprintf(const char *format, ...);
|
|||
CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args);
|
||||
|
||||
#ifdef _MPRINTF_REPLACE
|
||||
# undef printf
|
||||
# undef fprintf
|
||||
# undef sprintf
|
||||
# undef vsprintf
|
||||
# undef snprintf
|
||||
# undef vprintf
|
||||
# undef vfprintf
|
||||
# undef vsnprintf
|
||||
# undef aprintf
|
||||
# undef vaprintf
|
||||
# define printf curl_mprintf
|
||||
# define fprintf curl_mfprintf
|
||||
#ifdef CURLDEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue