mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:51:41 +03:00
test1515: fix compilation with msvc
... or any other systems lacking a native snprintf
This commit is contained in:
parent
0d6225ad0d
commit
647f83e809
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue