mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Define FileNames::HardLinkeFile, but nonfunctional on Windows
This commit is contained in:
@@ -69,6 +69,20 @@ bool FileNames::CopyFile(
|
||||
#endif
|
||||
}
|
||||
|
||||
bool FileNames::HardLinkFile( const wxString& file1, const wxString& file2 )
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
|
||||
// return ::CreateHardLinkA( file1.c_str(), file2.c_str(), NULL );
|
||||
return false;
|
||||
|
||||
#else
|
||||
|
||||
return 0 == ::link( file1.c_str(), file2.c_str() );
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
wxString FileNames::MkDir(const wxString &Str)
|
||||
{
|
||||
// Behaviour of wxFileName::DirExists() and wxFileName::MkDir() has
|
||||
|
Reference in New Issue
Block a user