diff options
author | Maks Naumov <maksqwe1@ukr.net> | 2014-02-18 15:45:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-02-19 13:50:17 +0100 |
commit | 647f83e809e43cc3b2e51e07c6d2f1cccf0c127a (patch) | |
tree | 049f3d11f47fe3c598f6fec491ab7bd34fe11001 /tests/libtest | |
parent | 0d6225ad0d5d0d441d78604e0d95e89dfedb4062 (diff) |
test1515: fix compilation with msvc
... or any other systems lacking a native snprintf
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/lib1515.c | 3 |
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; |