conditional compilation corrections for Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
49e95e1d80
commit
619e0d43b1
@ -27,8 +27,10 @@
|
||||
#include <string.h>
|
||||
#include <stdarg.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.
|
||||
|
@ -27,8 +27,10 @@
|
||||
#include <string.h>
|
||||
#include <stdarg.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.
|
||||
|
Loading…
Reference in New Issue
Block a user