diff options
Diffstat (limited to 'tools/CrashHandler.h')
-rw-r--r-- | tools/CrashHandler.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/CrashHandler.h b/tools/CrashHandler.h index 6c22c8ee70..606e81ef75 100644 --- a/tools/CrashHandler.h +++ b/tools/CrashHandler.h @@ -1,9 +1,11 @@ #ifndef CrashHandler_DEFINED #define CrashHandler_DEFINED -// If possible (and not already done) register a handler for a stack trace when we crash. -// Currently this works on Linux and Mac, hopefully Windows soon. -// On Linux, you will get much better results than we can deliver by running "catchsegv <program>". +// If possible (and not already done), and SK_CRASH_HANDLER is defined, +// register a handler for a stack trace when we crash. +// +// Currently this works on Linux and Mac and Windows, but on Linux, you will +// get much better results than we can deliver by running "catchsegv <program>". void SetupCrashHandler(); #endif//CrashHandler_DEFINED |