1
0
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:
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) #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;