Commit 647f83e8 authored by Maks Naumov's avatar Maks Naumov Committed by Daniel Stenberg
Browse files

test1515: fix compilation with msvc

... or any other systems lacking a native snprintf
parent 0d6225ad
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;