1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-20 21:26:35 +01:00

Can build for windows without precompiled headers...

... Requires some more wx header inclusions, a renaming of CopyFile (to avoid
colliding with a certain macro changing it to CopyFileW), and an explicit
deletion of a copy constructor and assignment (to avoid generation of
std::vector members for an incomplete type)
This commit is contained in:
Paul Licameli
2020-05-26 16:20:10 -04:00
parent 5f5a477dbf
commit 4ff0a9d74e
12 changed files with 20 additions and 7 deletions

View File

@@ -1097,7 +1097,7 @@ void MacroCommands::MigrateLegacyChains()
newDir.SetFullName(name);
const auto newPath = newDir.GetFullPath();
if (!wxFileExists(newPath))
FileNames::CopyFile(file, newPath);
FileNames::DoCopyFile(file, newPath);
}
done = true;
}