projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d6225a
)
test1515: fix compilation with msvc
author
Maks Naumov
<maksqwe1@ukr.net>
Tue, 18 Feb 2014 13:45:12 +0000
(15:45 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 19 Feb 2014 12:50:17 +0000
(13:50 +0100)
... or any other systems lacking a native snprintf
tests/libtest/lib1515.c
patch
|
blob
|
history
diff --git
a/tests/libtest/lib1515.c
b/tests/libtest/lib1515.c
index
d5c8f7d
..
a786add
100644
(file)
--- a/
tests/libtest/lib1515.c
+++ b/
tests/libtest/lib1515.c
@@
-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;