From: Gilles Depeyrot Date: Sun, 14 Oct 2001 09:51:37 +0000 (+0000) Subject: added conditional compilation test around wxGetDiskSpace for Mac OS X X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7f6097f17ddc760eb833a40b0c285176607e6e0f?ds=inline 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 --- diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 0581126a28..dec963c275 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -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