From 8aabbf5f8cf1d6c0c2c2d978804a6965e1380e43 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Mar 2015 23:17:43 +0100 Subject: vtls: use curl_printf.h all over No need to use _MPRINTF_REPLACE internally. --- lib/curl_printf.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'lib/curl_printf.h') 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 +# 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 -- cgit v1.2.3