From 647f83e809e43cc3b2e51e07c6d2f1cccf0c127a Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Tue, 18 Feb 2014 15:45:12 +0200 Subject: test1515: fix compilation with msvc ... or any other systems lacking a native snprintf --- tests/libtest/lib1515.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/libtest') 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; -- cgit v1.2.3