aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
authorSergei Nikulov <sergey.nikulov@gmail.com>2015-03-02 15:58:27 +0300
committerDaniel Stenberg <daniel@haxx.se>2015-03-03 14:33:11 +0100
commit43eb8b28748b71931299ab31d0baa909dbab44a0 (patch)
tree7a988534e3cf827634ea99f57366faa30883dfd3 /tests/libtest/test.h
parentdf5578a7a304a23f9aa3670daff8573ec3ef416f (diff)
libtest: fixed linker errors on msvc
Bug: https://github.com/bagder/curl/pull/144
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r--tests/libtest/test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index fb95996aa..468eda98a 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -40,6 +40,10 @@
# include "select.h"
#endif
+#define _MPRINTF_REPLACE
+#include <curl/mprintf.h>
+
+
#define test_setopt(A,B,C) \
if((res = curl_easy_setopt((A),(B),(C))) != CURLE_OK) goto test_cleanup