BUG: fix for bug 6054 remove some warnings

This commit is contained in:
Bill Hoffman 2007-12-14 11:00:56 -05:00
parent 1713bf95c6
commit 4057ee6828
1 changed files with 10 additions and 0 deletions

View File

@ -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