From fce2508282effba9cd74712058b910776b5ea184 Mon Sep 17 00:00:00 2001 From: bryner Date: Mon, 5 Mar 2007 21:13:23 +0000 Subject: 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 --- src/client/windows/handler/exception_handler.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client/windows/handler') 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); -- cgit v1.2.1