diff --git a/Engine/source/platformPOSIX/posixVolume.cpp b/Engine/source/platformPOSIX/posixVolume.cpp index a5d0871d0..0f39bea3c 100644 --- a/Engine/source/platformPOSIX/posixVolume.cpp +++ b/Engine/source/platformPOSIX/posixVolume.cpp @@ -206,7 +206,7 @@ bool PosixFileSystem::rename(const Path& from,const Path& to) String fa = buildFileName(_volume,from); String fb = buildFileName(_volume,to); - if (!rename(fa.c_str(),fb.c_str())) + if (!::rename(fa.c_str(),fb.c_str())) return true; return false;