diff options
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: | |||
| 244 | template <typename T> | 244 | template <typename T> |
| 245 | void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) | 245 | void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) |
| 246 | { | 246 | { |
| 247 | #ifdef _WIN32 | 247 | #ifdef _MSC_VER |
| 248 | fstream.open(Common::UTF8ToTStr(filename).c_str(), openmode); | 248 | fstream.open(Common::UTF8ToTStr(filename).c_str(), openmode); |
| 249 | #else | 249 | #else |
| 250 | fstream.open(filename.c_str(), openmode); | 250 | fstream.open(filename.c_str(), openmode); |