From: Maks Naumov Date: Tue, 18 Feb 2014 13:45:12 +0000 (+0200) Subject: test1515: fix compilation with msvc X-Git-Tag: curl-7_36_0~116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=647f83e809;p=thirdparty%2Fcurl.git test1515: fix compilation with msvc ... or any other systems lacking a native snprintf --- diff --git a/tests/libtest/lib1515.c b/tests/libtest/lib1515.c index d5c8f7d088..a786addb78 100644 --- a/tests/libtest/lib1515.c +++ b/tests/libtest/lib1515.c @@ -39,6 +39,9 @@ #define sleep(s) Sleep(s * 1000) #endif +#define _MPRINTF_REPLACE +#include "mprintf.h" + static int debug_callback(CURL *curl, curl_infotype info, char *msg, size_t len, void *ptr) { (void)curl;