diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-03-03 23:17:43 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-03-03 23:17:43 +0100 |
commit | 8aabbf5f8cf1d6c0c2c2d978804a6965e1380e43 (patch) | |
tree | 6d4baad0c96a825e832c3295cef07732ac5f77df /lib/curl_printf.h | |
parent | dcf23b0cfe7797651df6e56b5e451415261676f0 (diff) | |
download | curl-8aabbf5f8cf1d6c0c2c2d978804a6965e1380e43.tar.gz |
vtls: use curl_printf.h all over
No need to use _MPRINTF_REPLACE internally.
Diffstat (limited to 'lib/curl_printf.h')
-rw-r--r-- | lib/curl_printf.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/curl_printf.h b/lib/curl_printf.h index f0d99630e..086923f1d 100644 --- a/lib/curl_printf.h +++ b/lib/curl_printf.h @@ -27,9 +27,25 @@ * *rintf() functions. */ -#define _MPRINTF_REPLACE /* use our functions only */ #include <curl/mprintf.h> +# undef printf +# undef fprintf +# undef snprintf +# undef vprintf +# undef vfprintf +# undef vsnprintf +# undef aprintf +# undef vaprintf +# define printf curl_mprintf +# define fprintf curl_mfprintf +# define snprintf curl_msnprintf +# define vprintf curl_mvprintf +# define vfprintf curl_mvfprintf +# define vsnprintf curl_mvsnprintf +# define aprintf curl_maprintf +# define vaprintf curl_mvaprintf + /* We define away the sprintf functions unconditonally since we don't want internal code to be using them, intentionally or by mistake!*/ # undef sprintf |