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