From 98ad7dd049a366e21d60a34548736a3c8ef72877 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 30 Dec 2017 04:32:49 +0100 Subject: Add support for windows (ugly fast solution) --- include/curl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/curl.hpp') diff --git a/include/curl.hpp b/include/curl.hpp index 7c0ddbe..16b3e52 100644 --- a/include/curl.hpp +++ b/include/curl.hpp @@ -2,6 +2,7 @@ #define SIBS_CURL_HPP #include "Result.hpp" +#include "FileUtil.hpp" #include namespace sibs @@ -17,7 +18,7 @@ namespace sibs class curl { public: - static sibs::Result downloadFile(const char *url, const char *filepath); + static sibs::Result downloadFile(const char *url, const _tinydir_char_t *filepath); static HttpResult get(const char *url); }; } -- cgit v1.2.3