Added back the WIN32 switch
This commit is contained in:
parent
06755812db
commit
15e5212cfc
1 changed files with 4 additions and 0 deletions
|
|
@ -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::FileInformation> sfz::FilePool::getFileInformation(const std::string& filename) noexcept
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue