Fix building under MinGW
This commit is contained in:
parent
882040fde7
commit
e053d30bf7
3 changed files with 12 additions and 5 deletions
|
@ -244,7 +244,7 @@ private:
|
|||
template <typename T>
|
||||
void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
fstream.open(Common::UTF8ToTStr(filename).c_str(), openmode);
|
||||
#else
|
||||
fstream.open(filename.c_str(), openmode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue