mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 08:35:05 -05:00
test1515: fix compilation with msvc
... or any other systems lacking a native snprintf
This commit is contained in:
parent
0d6225ad0d
commit
647f83e809
@ -39,6 +39,9 @@
|
|||||||
#define sleep(s) Sleep(s * 1000)
|
#define sleep(s) Sleep(s * 1000)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define _MPRINTF_REPLACE
|
||||||
|
#include "mprintf.h"
|
||||||
|
|
||||||
static int debug_callback(CURL *curl, curl_infotype info, char *msg, size_t len, void *ptr)
|
static int debug_callback(CURL *curl, curl_infotype info, char *msg, size_t len, void *ptr)
|
||||||
{
|
{
|
||||||
(void)curl;
|
(void)curl;
|
||||||
|
Loading…
Reference in New Issue
Block a user