diff --git a/stepmania/src/RageThreads.cpp b/stepmania/src/RageThreads.cpp index 3be50a8a13..86c568875e 100644 --- a/stepmania/src/RageThreads.cpp +++ b/stepmania/src/RageThreads.cpp @@ -22,10 +22,10 @@ #include "arch/Threads/Threads.h" -#if defined(CRASH_HANDLER) +#if defined(CRASH_HANDLER) && !defined(DARWIN) #if defined(WIN32) #include "archutils/Win32/crash.h" -#elif defined(UNIX) +#elif defined(LINUX) #include "archutils/Unix/CrashHandler.h" #endif #endif @@ -513,7 +513,7 @@ void RageMutex::Lock() ThisSlot? ThisSlot->GetThreadName(): "(???" ")", // stupid trigraph warnings OtherSlot? OtherSlot->GetThreadName(): "(???" ")" ); -#if defined(CRASH_HANDLER) +#if defined(CRASH_HANDLER) && !defined(DARWIN) /* Pass the crash handle of the other thread, so it can backtrace that thread. */ ForceCrashHandlerDeadlock( sReason, OtherSlot? OtherSlot->pImpl->GetCrashHandle():0 ); #else