(svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure.

This commit is contained in:
michi_cc
2009-10-04 21:08:30 +00:00
parent 9e85c8da66
commit 83e1f7358f
10 changed files with 267 additions and 151 deletions

View File

@@ -20,6 +20,12 @@
#include <sys/cdefs.h>
#include <unistd.h>
/* Some gcc versions include assert.h via this header. As this would interfere
* with our own assert redefinition, include this header first. */
#if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
# include <debug/debug.h>
#endif
/* __LP64__ only exists in 10.5 and higher */
#if defined(__APPLE__) && !defined(__LP64__)
# define __LP64__ 0