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:
@@ -27,8 +27,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "morefile.h"
|
#ifndef __DARWIN__
|
||||||
#include "moreextr.h"
|
# include "morefile.h"
|
||||||
|
# include "moreextr.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __DARWIN__
|
#ifndef __DARWIN__
|
||||||
// defined in unix/utilsunx.cpp for Mac OS X
|
// defined in unix/utilsunx.cpp for Mac OS X
|
||||||
@@ -347,6 +349,7 @@ char *wxGetUserHome (const wxString& user)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __DARWIN__
|
||||||
bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
||||||
{
|
{
|
||||||
if ( path.empty() )
|
if ( path.empty() )
|
||||||
@@ -380,6 +383,7 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
|||||||
|
|
||||||
return err == noErr ;
|
return err == noErr ;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Check whether this window wants to process messages, e.g. Stop button
|
// Check whether this window wants to process messages, e.g. Stop button
|
||||||
// in long calculations.
|
// in long calculations.
|
||||||
|
@@ -27,8 +27,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "morefile.h"
|
#ifndef __DARWIN__
|
||||||
#include "moreextr.h"
|
# include "morefile.h"
|
||||||
|
# include "moreextr.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __DARWIN__
|
#ifndef __DARWIN__
|
||||||
// defined in unix/utilsunx.cpp for Mac OS X
|
// defined in unix/utilsunx.cpp for Mac OS X
|
||||||
@@ -347,6 +349,7 @@ char *wxGetUserHome (const wxString& user)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __DARWIN__
|
||||||
bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
||||||
{
|
{
|
||||||
if ( path.empty() )
|
if ( path.empty() )
|
||||||
@@ -380,6 +383,7 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
|
|||||||
|
|
||||||
return err == noErr ;
|
return err == noErr ;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Check whether this window wants to process messages, e.g. Stop button
|
// Check whether this window wants to process messages, e.g. Stop button
|
||||||
// in long calculations.
|
// in long calculations.
|
||||||
|
Reference in New Issue
Block a user