diff --git a/libretroshare/src/util/rsdir.cc b/libretroshare/src/util/rsdir.cc index 4334f657f..89d7e5703 100644 --- a/libretroshare/src/util/rsdir.cc +++ b/libretroshare/src/util/rsdir.cc @@ -390,7 +390,7 @@ bool RsDirUtil::renameFile(const std::string& from, const std::string& to) { int loops = 0; -#ifdef WIN32 +#if defined(WIN32) || defined(MINGW) || defined(__CYGWIN__) #if defined(MINGW) || defined(__CYGWIN__) std::string f(from),t(to) ; #else