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:
Gilles Depeyrot
2001-10-14 09:51:37 +00:00
parent f4ac069301
commit 7f6097f17d

View File

@@ -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