mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Linux alternatives for the Windows headers and PerformanceCounter. Some typedefs and #defines for the Linux build. Fixed GetDataDir.
This commit is contained in:
parent
8938414f0c
commit
e874738d3d
5 changed files with 40 additions and 12 deletions
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue