diff options
author | VlkrS <47375452+VlkrS@users.noreply.github.com> | 2023-06-12 12:14:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 13:14:27 +0300 |
commit | ea97af312f73f28d2a46b49a0cea570a90810e42 (patch) | |
tree | 60cf58e479470607a9244285779a6bb31cae3038 /ext/fs/std_fs.rs | |
parent | 7f15126f23d97f20a4fb33e43136cd4d13825863 (diff) |
feat: Adaptations to support OpenBSD port (#19153)
Diffstat (limited to 'ext/fs/std_fs.rs')
-rw-r--r-- | ext/fs/std_fs.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/fs/std_fs.rs b/ext/fs/std_fs.rs index 9baf74a2a..b2923abb1 100644 --- a/ext/fs/std_fs.rs +++ b/ext/fs/std_fs.rs @@ -66,7 +66,11 @@ impl FileSystem for RealFs { { Ok(r.bits()) } - #[cfg(target_os = "macos")] + #[cfg(any( + target_os = "macos", + target_os = "openbsd", + target_os = "freebsd" + ))] { Ok(r.bits() as u32) } |