mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-30 21:24:18 +01:00
Fix exception handler build with MSVC versions prior to 2005. r=mmentovai.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@123 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
e5dc60822e
commit
fce2508282
@ -64,7 +64,6 @@ ExceptionHandler::ExceptionHandler(const wstring &dump_path,
|
|||||||
minidump_write_dump_(NULL),
|
minidump_write_dump_(NULL),
|
||||||
installed_handler_(install_handler),
|
installed_handler_(install_handler),
|
||||||
previous_filter_(NULL),
|
previous_filter_(NULL),
|
||||||
previous_iph_(NULL),
|
|
||||||
handler_thread_(0),
|
handler_thread_(0),
|
||||||
handler_critical_section_(),
|
handler_critical_section_(),
|
||||||
handler_start_semaphore_(NULL),
|
handler_start_semaphore_(NULL),
|
||||||
@ -73,6 +72,10 @@ ExceptionHandler::ExceptionHandler(const wstring &dump_path,
|
|||||||
exception_info_(NULL),
|
exception_info_(NULL),
|
||||||
assertion_(NULL),
|
assertion_(NULL),
|
||||||
handler_return_value_(false) {
|
handler_return_value_(false) {
|
||||||
|
#if _MSC_VER >= 1400 // MSVC 2005/8
|
||||||
|
previous_iph_ = NULL;
|
||||||
|
#endif // _MSC_VER >= 1400
|
||||||
|
|
||||||
// set_dump_path calls UpdateNextID. This sets up all of the path and id
|
// set_dump_path calls UpdateNextID. This sets up all of the path and id
|
||||||
// strings, and their equivalent c_str pointers.
|
// strings, and their equivalent c_str pointers.
|
||||||
set_dump_path(dump_path);
|
set_dump_path(dump_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user