diff options
author | bunnei <bunneidev@gmail.com> | 2015-08-19 20:40:31 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-08-19 20:40:31 -0400 |
commit | 21ba05e5f1a571dd26fd5bf06afcb993b1ca301f (patch) | |
tree | 79f9971851cfe9d416f07367e5f592972a086e4b /src/common/file_util.h | |
parent | a575399fbcf6f2c29e9dd9835c5014226b453348 (diff) | |
parent | e053d30bf75f311778ad745f7859a9733d6ce2e3 (diff) |
Merge pull request #1035 from darkf/mingw-fix
Fix building under MinGW
Diffstat (limited to 'src/common/file_util.h')
-rw-r--r-- | src/common/file_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index d0dccdf69..e71a9b2fa 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -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); |