mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibCore: Use DirectoryEntry::from_stat on Haiku
This commit is contained in:
parent
1d475e9312
commit
cf6781cdee
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ bool DirIterator::advance_next()
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef AK_OS_SOLARIS
|
||||
#if defined(AK_OS_SOLARIS) || defined(AK_OS_HAIKU)
|
||||
m_next = DirectoryEntry::from_stat(m_dir, *de);
|
||||
#else
|
||||
m_next = DirectoryEntry::from_dirent(*de);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue