diff options
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index bf2609672..38ecd22ba 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -416,12 +416,14 @@ ProjectStore::Oplog::AddFileMapping(Oid FileId, IoHash Hash, std::string_view Se if (ServerPath[0] == '/' || ClientPath[0] != '/') { +#if ZEN_PLATFORM_WINDOWS // This is a special case just to enable tests to use absolute paths. We might want // to have configuration to control this if (ServerPath[1] != ':') { return false; } +#endif } FileMapEntry Entry; |