diff --git a/Core/FileSystems/DirectoryFileSystem.cpp b/Core/FileSystems/DirectoryFileSystem.cpp index 50bbb11253..3302c266d2 100644 --- a/Core/FileSystems/DirectoryFileSystem.cpp +++ b/Core/FileSystems/DirectoryFileSystem.cpp @@ -92,7 +92,7 @@ bool DirectoryFileSystem::DeleteFile(const std::string &filename) { std::string fullName = GetLocalPath(filename); #ifdef _WIN32 - return DeleteFile(fullName.c_str()) == TRUE; + return ::DeleteFile(fullName.c_str()) == TRUE; #else return 0 == unlink(fullName.c_str()); #endif