aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2014-02-18 15:45:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-02-19 13:50:17 +0100
commit647f83e809e43cc3b2e51e07c6d2f1cccf0c127a (patch)
tree049f3d11f47fe3c598f6fec491ab7bd34fe11001
parent0d6225ad0d5d0d441d78604e0d95e89dfedb4062 (diff)
test1515: fix compilation with msvc
... or any other systems lacking a native snprintf
-rw-r--r--tests/libtest/lib1515.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/lib1515.c b/tests/libtest/lib1515.c
index d5c8f7d08..a786addb7 100644
--- 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;