std::fs: get_mode implementation for haiku.
This commit is contained in:
parent
91376f4162
commit
a7be5bf683
@ -1561,6 +1561,7 @@ fn get_path(_fd: c_int) -> Option<PathBuf> {
|
|||||||
target_os = "vxworks",
|
target_os = "vxworks",
|
||||||
target_os = "solaris",
|
target_os = "solaris",
|
||||||
target_os = "illumos",
|
target_os = "illumos",
|
||||||
|
target_os = "haiku",
|
||||||
target_vendor = "apple",
|
target_vendor = "apple",
|
||||||
))]
|
))]
|
||||||
fn get_mode(fd: c_int) -> Option<(bool, bool)> {
|
fn get_mode(fd: c_int) -> Option<(bool, bool)> {
|
||||||
@ -1585,6 +1586,7 @@ fn get_mode(fd: c_int) -> Option<(bool, bool)> {
|
|||||||
target_os = "vxworks",
|
target_os = "vxworks",
|
||||||
target_os = "solaris",
|
target_os = "solaris",
|
||||||
target_os = "illumos",
|
target_os = "illumos",
|
||||||
|
target_os = "haiku",
|
||||||
target_vendor = "apple",
|
target_vendor = "apple",
|
||||||
)))]
|
)))]
|
||||||
fn get_mode(_fd: c_int) -> Option<(bool, bool)> {
|
fn get_mode(_fd: c_int) -> Option<(bool, bool)> {
|
||||||
|
Loading…
Reference in New Issue
Block a user