From 15e5212cfcd77282c10604709a470e583d70acac Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Sun, 26 Jan 2020 21:15:20 +0100 Subject: [PATCH] Added back the WIN32 switch --- src/sfizz/FilePool.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sfizz/FilePool.cpp b/src/sfizz/FilePool.cpp index 14bcd011..af0ecd18 100644 --- a/src/sfizz/FilePool.cpp +++ b/src/sfizz/FilePool.cpp @@ -113,6 +113,9 @@ bool sfz::FilePool::checkSample(std::string& filename) const noexcept if (fs::exists(path, ec)) return true; +#if WIN32 + return false; +#else fs::path oldPath = std::move(path); path = oldPath.root_path(); @@ -160,6 +163,7 @@ bool sfz::FilePool::checkSample(std::string& filename) const noexcept DBG("Updating " << filename << " to " << newPath.native()); filename = newPath.string(); return true; +#endif } absl::optional sfz::FilePool::getFileInformation(const std::string& filename) noexcept