X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/518af45bee618dd4db617267d67e99bb01bb20b2..89fcec9514fd890de58da83118363570e2482bc9:/src/mac/utils.cpp?ds=sidebyside diff --git a/src/mac/utils.cpp b/src/mac/utils.cpp index 96e20cfc3d..f234da7456 100644 --- a/src/mac/utils.cpp +++ b/src/mac/utils.cpp @@ -27,8 +27,10 @@ #include #include -#include "morefile.h" -#include "moreextr.h" +#ifndef __DARWIN__ +# include "morefile.h" +# include "moreextr.h" +#endif #ifndef __DARWIN__ // defined in unix/utilsunx.cpp for Mac OS X @@ -347,6 +349,7 @@ char *wxGetUserHome (const wxString& user) } #endif +#ifndef __DARWIN__ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree) { if ( path.empty() ) @@ -380,6 +383,7 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree) return err == noErr ; } +#endif // Check whether this window wants to process messages, e.g. Stop button // in long calculations.