mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
ifdef DT_WHT
This commit is contained in:
parent
cdfa76221e
commit
cdf1a94e29
1 changed files with 3 additions and 0 deletions
|
@ -76,8 +76,11 @@ static maybe_t<dir_entry_type_t> dirent_type_to_entry_type(uint8_t dt) {
|
|||
return dir_entry_type_t::lnk;
|
||||
case DT_SOCK:
|
||||
return dir_entry_type_t::sock;
|
||||
#if defined(DT_WHT)
|
||||
// OpenBSD doesn't have this one
|
||||
case DT_WHT:
|
||||
return dir_entry_type_t::whiteout;
|
||||
#endif
|
||||
case DT_UNKNOWN:
|
||||
default:
|
||||
return none();
|
||||
|
|
Loading…
Reference in a new issue