Fixed compilation error on POSIX

Former-commit-id: 92c425519f250d15f4fe71d2e08e987b965dac70
This commit is contained in:
Lynix
2013-10-19 18:28:05 +02:00
parent d97d4b62e4
commit cb007b48fd
4 changed files with 14 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ bool NzDirectoryImpl::NextResult()
else
{
if (errno != ENOENT)
NazaraError("Unable to get next result: " + NzGetLastSystemError());
NazaraError("Unable to get next result: " + NzError::GetLastSystemError());
return false;
}
@@ -56,7 +56,7 @@ bool NzDirectoryImpl::Open(const NzString& dirPath)
m_handle = opendir(dirPath.GetConstBuffer());
if (!m_handle)
{
NazaraError("Unable to open directory: " + NzGetLastSystemError());
NazaraError("Unable to open directory: " + NzError::GetLastSystemError());
return false;
}
@@ -87,7 +87,7 @@ NzString NzDirectoryImpl::GetCurrent()
if (getcwd(path, _PC_PATH_MAX))
currentPath = path;
else
NazaraError("Unable to get current directory: " + NzGetLastSystemError());
NazaraError("Unable to get current directory: " + NzError::GetLastSystemError());
delete[] path;