Fixed POSIX build
Former-commit-id: 51c9eec6b1bff341d0e80971da26c05f4224ac60
This commit is contained in:
parent
45bf5f1f43
commit
7785516f85
|
|
@ -515,7 +515,7 @@ NzString NzFile::AbsolutePath(const NzString& filePath)
|
||||||
NazaraError("Path unrecognized");
|
NazaraError("Path unrecognized");
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
#elif defined(NAZARA_PLATEFORM_LINUX)
|
#elif defined(NAZARA_PLATFORM_POSIX)
|
||||||
base = '/';
|
base = '/';
|
||||||
start = 0;
|
start = 0;
|
||||||
#else
|
#else
|
||||||
|
|
@ -664,7 +664,7 @@ bool NzFile::IsAbsolute(const NzString& filePath)
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
#elif defined(NAZARA_PLATEFORM_LINUX)
|
#elif defined(NAZARA_PLATFORM_POSIX)
|
||||||
return path.StartsWith('/');
|
return path.StartsWith('/');
|
||||||
#else
|
#else
|
||||||
#error OS case not implemented
|
#error OS case not implemented
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue