OLD | NEW |
1 #ifndef CrashHandler_DEFINED | 1 #ifndef CrashHandler_DEFINED |
2 #define CrashHandler_DEFINED | 2 #define CrashHandler_DEFINED |
3 | 3 |
4 // If possible (and not already done) register a handler for a stack trace when
we crash. | 4 // If possible (and not already done), and SK_CRASH_HANDLER is defined, |
5 // Currently this works on Linux and Mac, hopefully Windows soon. | 5 // register a handler for a stack trace when we crash. |
6 // On Linux, you will get much better results than we can deliver by running "ca
tchsegv <program>". | 6 // |
| 7 // Currently this works on Linux and Mac and Windows, but on Linux, you will |
| 8 // get much better results than we can deliver by running "catchsegv <program>". |
7 void SetupCrashHandler(); | 9 void SetupCrashHandler(); |
8 | 10 |
9 #endif//CrashHandler_DEFINED | 11 #endif//CrashHandler_DEFINED |
OLD | NEW |