diff --git a/libbitdht/src/util/bdfile.cc b/libbitdht/src/util/bdfile.cc index 9157041d5..48db4a232 100644 --- a/libbitdht/src/util/bdfile.cc +++ b/libbitdht/src/util/bdfile.cc @@ -17,7 +17,7 @@ bool bdFile::renameFile(const std::string& from, const std::string& to) { int loops = 0; -#ifdef WINDOWS_SYS +#ifdef WIN32 std::wstring f; librs::util::ConvertUtf8ToUtf16(from, f); std::wstring t;