- Make the 'crashout' CCMD available in non-win32.

This commit is contained in:
Edoardo Prezioso 2015-04-02 20:00:51 +02:00
commit 7c7c3fb54e
2 changed files with 17 additions and 17 deletions

View file

@ -641,6 +641,23 @@ CCMD (error_fatal)
}
}
//==========================================================================
//
// CCMD crashout
//
// Debugging routine for testing the crash logger.
// Useless in a win32 debug build, because that doesn't enable the crash logger.
//
//==========================================================================
#if !defined(_WIN32) || !defined(_DEBUG)
CCMD (crashout)
{
*(volatile int *)0 = 0;
}
#endif
CCMD (dir)
{
FString dir, path;