aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ctr-std/src/path.rs')
-rw-r--r--ctr-std/src/path.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctr-std/src/path.rs b/ctr-std/src/path.rs
index 696711a..861c7dd 100644
--- a/ctr-std/src/path.rs
+++ b/ctr-std/src/path.rs
@@ -201,6 +201,9 @@ impl<'a> Prefix<'a> {
os_str_as_u8_slice(s).len()
}
match *self {
+ #[cfg(target_os = "horizon")]
+ Verbatim(x) => 1 + os_str_len(x),
+ #[cfg(target_os = "windows")]
Verbatim(x) => 4 + os_str_len(x),
VerbatimUNC(x, y) => {
8 + os_str_len(x) +