Mac: Make backtrace compile properly with OS 10.5 and OS 10.6 SDKs

svn path=/trunk/boinc/; revision=23036
This commit is contained in:
Charlie Fenton 2011-02-15 10:04:19 +00:00
parent 3b6325916f
commit 60f01bde91
3 changed files with 21 additions and 0 deletions

View File

@ -750,3 +750,11 @@ David 14 Feb 2011
configure.ac
client/
hostinfo_unix.cpp
Charlie 15 Feb 2011
Mac: Make backtrace compile properly with OS 10.5 and OS 10.6 SDKs.
lib/
QBacktrace.c
QCrashReport.c

View File

@ -109,6 +109,12 @@ First checked in.
/////////////////////////////////////////////////////////////////
// Compatibility with OS 10.5 SDK and later
#if __DARWIN_UNIX03
#undef __DARWIN_UNIX03
#endif
#define __DARWIN_UNIX03 0
// Our Prototypes
#include "QBacktrace.h"
@ -140,6 +146,7 @@ First checked in.
// By default, the system only gives us the one that's appropriate
// for our machine. So we include both here.
#include <mach/ppc/thread_status.h>
#include <mach/i386/thread_status.h>

View File

@ -106,6 +106,12 @@ First checked in.
/////////////////////////////////////////////////////////////////
// Compatibility with OS 10.5 SDK and later
#if __DARWIN_UNIX03
#undef __DARWIN_UNIX03
#endif
#define __DARWIN_UNIX03 0
#include "config.h"
#include "QCrashReport.h"
#include "mac_backtrace.h"