diff options
author | w12x <none@none> | 2008-10-23 05:57:15 -0500 |
---|---|---|
committer | w12x <none@none> | 2008-10-23 05:57:15 -0500 |
commit | c98b24cf29a8cd98201ac7bd00b457d8842c0f2d (patch) | |
tree | 6e246cf77bcc6c0d59a06d11472badfeea5c249f /src | |
parent | b8362cd7f13bf51e5aa1b3e9755d39e39682676f (diff) |
[svn] Restore automatic crashlog generation on Windows. Make sure to have a Crashes folder in the working directory of the executables.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/WheatyExceptionReport.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/WheatyExceptionReport.cpp b/src/shared/WheatyExceptionReport.cpp index 41d2a5e2727..6a4276cca0f 100644 --- a/src/shared/WheatyExceptionReport.cpp +++ b/src/shared/WheatyExceptionReport.cpp @@ -14,8 +14,7 @@ #define _NO_CVCONST_H #include <dbghelp.h> #include "WheatyExceptionReport.h" -#include "svn_revision.h" -#define CrashFolder _T("Crashs") +#define CrashFolder _T("Crashes") //#pragma comment(linker, "/defaultlib:dbghelp.lib") inline LPTSTR ErrorMessage(DWORD dw) @@ -386,7 +385,6 @@ PEXCEPTION_POINTERS pExceptionInfo ) GetLocalTime(&systime); // Start out with a banner - _tprintf(_T("Revision: %s\r\n"), SVN_REVISION); _tprintf(_T("Date %u:%u:%u. Time %u:%u \r\n"), systime.wDay, systime.wMonth, systime.wYear, systime.wHour, systime.wMinute); PEXCEPTION_RECORD pExceptionRecord = pExceptionInfo->ExceptionRecord; |