std::fs: get_mode implementation for haiku.

This commit is contained in:
David Carlier 2024-08-11 10:14:57 +00:00
parent 91376f4162
commit a7be5bf683
No known key found for this signature in database
GPG Key ID: D308BD11AB42D054
1 changed files with 2 additions and 0 deletions

View File

@ -1561,6 +1561,7 @@ impl fmt::Debug for File {
target_os = "vxworks",
target_os = "solaris",
target_os = "illumos",
target_os = "haiku",
target_vendor = "apple",
))]
fn get_mode(fd: c_int) -> Option<(bool, bool)> {
@ -1585,6 +1586,7 @@ impl fmt::Debug for File {
target_os = "vxworks",
target_os = "solaris",
target_os = "illumos",
target_os = "haiku",
target_vendor = "apple",
)))]
fn get_mode(_fd: c_int) -> Option<(bool, bool)> {