mtklein | 30e6e2a | 2014-06-18 11:44:15 -0700 | [diff] [blame] | 1 | #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>". | ||||
7 | void SetupCrashHandler(); | ||||
8 | |||||
9 | #endif//CrashHandler_DEFINED |