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");
|
||||
return path;
|
||||
}
|
||||
#elif defined(NAZARA_PLATEFORM_LINUX)
|
||||
#elif defined(NAZARA_PLATFORM_POSIX)
|
||||
base = '/';
|
||||
start = 0;
|
||||
#else
|
||||
|
|
@ -664,7 +664,7 @@ bool NzFile::IsAbsolute(const NzString& filePath)
|
|||
return true;
|
||||
else
|
||||
return false;
|
||||
#elif defined(NAZARA_PLATEFORM_LINUX)
|
||||
#elif defined(NAZARA_PLATFORM_POSIX)
|
||||
return path.StartsWith('/');
|
||||
#else
|
||||
#error OS case not implemented
|
||||
|
|
|
|||
Loading…
Reference in New Issue