1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix redefinition compilation error on Windows

This commit is contained in:
Paul Licameli 2019-12-31 11:10:31 -05:00
parent b747e88304
commit e0453d1b7e
2 changed files with 1 additions and 4 deletions

View File

@ -693,7 +693,7 @@ void FileNames::FindFilesInPathList(const wxString & pattern,
}
#if defined(__WXMSW__)
wxCharBuffer FileNames::mFilename;
static wxCharBuffer mFilename;
//
// On Windows, wxString::mb_str() can return a NULL pointer if the

View File

@ -178,9 +178,6 @@ namespace FileNames
* on Windows */
#if defined(__WXMSW__)
char *VerifyFilename(const wxString &s, bool input = true);
// stuff for file name sanitisation
wxCharBuffer mFilename;
#endif
};