1 #ifndef CrashHandler_DEFINED
2 #define CrashHandler_DEFINED
4 // If possible (and not already done), and SK_CRASH_HANDLER is defined,
5 // register a handler for a stack trace when we crash.
7 // Currently this works on Linux and Mac and Windows.
8 // On Linux, our output is garbage compared to catchsegv. Use catchsegv if possible.
9 void SetupCrashHandler();
11 #endif//CrashHandler_DEFINED