mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Linux alternatives for the Windows headers and PerformanceCounter. Some typedefs and #defines for the Linux build. Fixed GetDataDir.
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -1399,7 +1399,7 @@ string GetAppDir()
|
||||
bool CheckDiskSpace(int64 nAdditionalBytes)
|
||||
{
|
||||
wxLongLong nFreeBytesAvailable = 0;
|
||||
if (!wxGetDiskSpace(GetDataDir(), NULL, &nFreeBytesAvailable))
|
||||
if (!wxGetDiskSpace(wxStandardPaths::Get().GetDataDir(), NULL, &nFreeBytesAvailable))
|
||||
{
|
||||
printf("ERROR: wxGetDiskSpace() failed\n");
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user