mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibCore: Don't use DT_WHT in DirectoryEntry on OpenBSD
This commit is contained in:
parent
bf3d9a7372
commit
1a29ecd648
1 changed files with 2 additions and 0 deletions
|
@ -28,8 +28,10 @@ static DirectoryEntry::Type directory_entry_type_from_posix(unsigned char dt_con
|
|||
return DirectoryEntry::Type::SymbolicLink;
|
||||
case DT_SOCK:
|
||||
return DirectoryEntry::Type::Socket;
|
||||
#ifndef AK_OS_OPENBSD
|
||||
case DT_WHT:
|
||||
return DirectoryEntry::Type::Whiteout;
|
||||
#endif
|
||||
}
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue