diff options
author | dec05eba <dec05eba@protonmail.com> | 2017-12-30 04:32:49 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2017-12-30 05:08:10 +0100 |
commit | 98ad7dd049a366e21d60a34548736a3c8ef72877 (patch) | |
tree | 45e34eb02f6be9f9130a870a19ef1533e24bf343 /include/curl.hpp | |
parent | 1f583ebb6e3973c992d59886659bf53ff87f41de (diff) |
Add support for windows (ugly fast solution)
Diffstat (limited to 'include/curl.hpp')
-rw-r--r-- | include/curl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <string> namespace sibs @@ -17,7 +18,7 @@ namespace sibs class curl { public: - static sibs::Result<bool> downloadFile(const char *url, const char *filepath); + static sibs::Result<bool> downloadFile(const char *url, const _tinydir_char_t *filepath); static HttpResult get(const char *url); }; } |