From: Maks Naumov Date: Tue, 18 Feb 2014 13:45:12 +0000 (+0200) Subject: test1515: fix compilation with msvc X-Git-Tag: upstream/7.37.1~538 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=647f83e809e43cc3b2e51e07c6d2f1cccf0c127a;p=platform%2Fupstream%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 d5c8f7d..a786add 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;