Fix MinGW build
This commit is contained in:
parent
2a4b698f8e
commit
459502e48c
9 changed files with 42 additions and 22 deletions
|
@ -7,7 +7,7 @@
|
|||
#include "common/common.h"
|
||||
#include "common/string_util.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef MSVC_VER
|
||||
#include <Windows.h>
|
||||
#include <codecvt>
|
||||
#else
|
||||
|
@ -45,7 +45,7 @@ bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list ar
|
|||
{
|
||||
int writtenCount;
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef MSVC_VER
|
||||
// You would think *printf are simple, right? Iterate on each character,
|
||||
// if it's a format specifier handle it properly, etc.
|
||||
//
|
||||
|
@ -410,7 +410,7 @@ std::string UriEncode(const std::string & sSrc)
|
|||
return sResult;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef MSVC_VER
|
||||
|
||||
std::string UTF16ToUTF8(const std::u16string& input)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue