diff options
author | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2007-08-07 12:44:38 +0000 |
---|---|---|
committer | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2007-08-07 12:44:38 +0000 |
commit | ad9cb40b6f0fc79a1fddd9fa6aa12bf1dd31092b (patch) | |
tree | 2e360e401f7df17ab9b5b0003550de4d3d54e364 /include/curl | |
parent | 2e60ca382dbe99bd294641dabf7e84a349b080c8 (diff) | |
download | curl-ad9cb40b6f0fc79a1fddd9fa6aa12bf1dd31092b.tar.gz |
Some #if --> #ifdef
undef standard *printf before (re)defining them
Diffstat (limited to 'include/curl')
-rw-r--r-- | include/curl/mprintf.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/curl/mprintf.h b/include/curl/mprintf.h index b087d9a80..5c526882f 100644 --- a/include/curl/mprintf.h +++ b/include/curl/mprintf.h @@ -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 |