X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/518af45bee618dd4db617267d67e99bb01bb20b2..bf44306ebca5d26e204ef17851516d844bc2f0a7:/src/mac/carbon/utils.cpp diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 96e20cfc3d..f234da7456 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/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.