]> git.saurik.com Git - wxWidgets.git/commitdiff
added conditional compilation test around wxGetDiskSpace for Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 14 Oct 2001 09:51:37 +0000 (09:51 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 14 Oct 2001 09:51:37 +0000 (09:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsunx.cpp

index 0581126a283e06b858fb6242053c1c8603a9cdd8..dec963c2756333d4a09d74bccf6c9a0f5812debb 100644 (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