ForceCrashHandlerDeadlock is only implemented in Linux

This commit is contained in:
Glenn Maynard
2004-06-12 01:01:30 +00:00
parent 0259692fbf
commit 0805aef930
@@ -398,6 +398,7 @@ void ForceCrashHandler( const char *reason )
RunCrashHandler( &crash );
}
#if defined(LINUX)
void ForceCrashHandlerDeadlock( CString reason, const BacktraceContext *ctx )
{
CrashData crash;
@@ -427,6 +428,7 @@ void ForceCrashHandlerDeadlock( CString reason, uint64_t iCrashHandle )
_exit(1);
}
#endif
/* XXX test for recursive crashes here (eg. GetBacktrace crashing) */