__MACOSX__ --> MACOSX, keep __MACOSX__ for ogg.

This commit is contained in:
Steve Checkoway
2005-10-24 10:37:56 +00:00
parent 283747e8c9
commit aa0f90feae
24 changed files with 52 additions and 35 deletions
@@ -16,7 +16,7 @@
#include "RageLog.h" /* for RageLog::GetAdditionalLog, etc. only */
#include "ProductInfo.h"
#if defined(__MACOSX__)
#if defined(MACOSX)
#include "archutils/Darwin/Crash.h"
#endif
@@ -58,7 +58,7 @@ static void output_stack_trace( FILE *out, const void **BacktracePointers )
}
}
#if !defined(__MACOSX__)
#if !defined(MACOSX)
const char *SignalCodeName( int signo, int code )
{
switch( code )
@@ -289,7 +289,7 @@ static void child_process()
{
CString Signal = SignalName( crash.signal );
#if !defined(__MACOSX__)
#if !defined(MACOSX)
reason = ssprintf( "%s - %s", Signal.c_str(), SignalCodeName(crash.signal, crash.si.si_code) );
#else
reason = Signal;
@@ -340,7 +340,7 @@ static void child_process()
fprintf(CrashDump, "-- End of report\n");
fclose(CrashDump);
#if defined(__MACOSX__)
#if defined(MACOSX)
/* Forcibly kill our parent. */
kill( getppid(), SIGKILL );
InformUserOfCrash( sCrashInfoPath );