1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

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;