diff options
author | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-03-05 21:13:23 +0000 |
---|---|---|
committer | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-03-05 21:13:23 +0000 |
commit | fce2508282effba9cd74712058b910776b5ea184 (patch) | |
tree | 22f6645f00cd193245403f92463bdb486eee9ee8 /src/client/windows | |
parent | Rename Airbag to Breakpad. (diff) | |
download | breakpad-fce2508282effba9cd74712058b910776b5ea184.tar.xz |
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
Diffstat (limited to 'src/client/windows')
-rw-r--r-- | src/client/windows/handler/exception_handler.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc index 4e23ab1b..10a1198d 100644 --- a/src/client/windows/handler/exception_handler.cc +++ b/src/client/windows/handler/exception_handler.cc @@ -64,7 +64,6 @@ ExceptionHandler::ExceptionHandler(const wstring &dump_path, minidump_write_dump_(NULL), installed_handler_(install_handler), previous_filter_(NULL), - previous_iph_(NULL), handler_thread_(0), handler_critical_section_(), handler_start_semaphore_(NULL), @@ -73,6 +72,10 @@ ExceptionHandler::ExceptionHandler(const wstring &dump_path, exception_info_(NULL), assertion_(NULL), 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 // strings, and their equivalent c_str pointers. set_dump_path(dump_path); |