diff --git a/libretroshare/src/util/rsdir.cc b/libretroshare/src/util/rsdir.cc index 125f3837d..b12f58ea5 100644 --- a/libretroshare/src/util/rsdir.cc +++ b/libretroshare/src/util/rsdir.cc @@ -392,7 +392,13 @@ bool RsDirUtil::renameFile(const std::string& from, const std::string& to) int loops = 0; #if defined(WIN32) || defined(MINGW) || defined(__CYGWIN__) +#ifdef WIN_CROSS_UBUNTU + std::wstring f,t ; + for(int i=0;i