mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibCore: Don't use DT_WHT in DirectoryEntry on OpenBSD
This commit is contained in:
parent
bf3d9a7372
commit
1a29ecd648
Notes:
sideshowbarker
2024-07-19 16:54:17 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/1a29ecd648d Pull-request: https://github.com/SerenityOS/serenity/pull/17731
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…
Reference in a new issue