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:
Gilles Depeyrot 2001-08-29 18:49:19 +00:00
parent 49e95e1d80
commit 619e0d43b1
2 changed files with 12 additions and 4 deletions

View File

@ -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.

View File

@ -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.