mirror of https://github.com/BOINC/boinc.git
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:
parent
3b6325916f
commit
60f01bde91
|
@ -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
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue