move log.h include in each file instead of pch, link libcurl and compile for mac

This commit is contained in:
2017-04-02 16:57:56 +01:00
parent b6c9429b89
commit 2dc7c4a9cc
18 changed files with 34 additions and 11 deletions

View File

@@ -67,7 +67,7 @@ void LogRemote::log(const wchar_t* format, ...)
static wchar_t buffer[4096];
va_list arglist;
va_start(arglist, format);
int n = _vsnwprintf(buffer, sizeof(buffer)/sizeof(wchar_t), format, arglist);
int n = vswprintf(buffer, sizeof(buffer)/sizeof(wchar_t), format, arglist);
va_end(arglist);
std::wstring string_to_convert(buffer, n);