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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=647f83e809e43cc3b2e51e07c6d2f1cccf0c127a;p=curl 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 d5c8f7d08..a786addb7 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;