From 47c3b5d2b03d3286cba2a3b4890e57fdd6135132 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 17 Sep 2016 00:28:00 +0200 Subject: Fix ICE-4787 - slice compilers and unicode paths --- cpp/src/IceUtil/FileUtil.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpp/src/IceUtil/FileUtil.cpp') diff --git a/cpp/src/IceUtil/FileUtil.cpp b/cpp/src/IceUtil/FileUtil.cpp index 4e3dc407804..4c76f6fd020 100644 --- a/cpp/src/IceUtil/FileUtil.cpp +++ b/cpp/src/IceUtil/FileUtil.cpp @@ -344,6 +344,14 @@ IceUtilInternal::FileLock::~FileLock() unlink(_path); } +#ifndef __MINGW32__ +wstring +IceUtilInternal::streamFilename(const string& filename) +{ + return stringToWstring(filename, IceUtil::getProcessStringConverter()); +} +#endif + IceUtilInternal::ifstream::ifstream() { } -- cgit v1.2.3