move log.h include in each file instead of pch, link libcurl and compile for mac
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user