blob: 6c22c8ee705836cebba5cca94aacf7b5496d8fa0 [file] [log] [blame]
mtklein30e6e2a2014-06-18 11:44:15 -07001#ifndef CrashHandler_DEFINED
2#define CrashHandler_DEFINED
3
4// If possible (and not already done) register a handler for a stack trace when we crash.
5// Currently this works on Linux and Mac, hopefully Windows soon.
6// On Linux, you will get much better results than we can deliver by running "catchsegv <program>".
7void SetupCrashHandler();
8
9#endif//CrashHandler_DEFINED