added conditional compilation test around wxGetDiskSpace for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1005,6 +1005,7 @@ long wxGetFreeMemory()
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifndef __WXMAC__
|
||||
bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
||||
{
|
||||
#ifdef HAVE_STATFS
|
||||
@@ -1032,6 +1033,7 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// env vars
|
||||
|
Reference in New Issue
Block a user