test1515: fix compilation with msvc

... or any other systems lacking a native snprintf
This commit is contained in:
Maks Naumov 2014-02-18 15:45:12 +02:00 committed by Daniel Stenberg
parent 0d6225ad0d
commit 647f83e809
1 changed files with 3 additions and 0 deletions

View File

@ -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;