Bug 856566 Followup fix for crashreporter_win.cpp(1227) : error C2065: 'nullptr' : undeclared identifier (VS2008SP1/VC9) r=ted.
authorPhilip Chee <philip.chee@gmail.com>
Tue, 09 Apr 2013 16:45:01 +0800
changeset 134913 09ff3bd0beb83a227efb87d51f2594a30118fe07
parent 134912 091fe36759968a34264793dc71e89ec1666014bc
child 134914 dc4066373f5a2e0c08869e435edd78ed46825c86
push id3752
push userlsblakk@mozilla.com
push dateMon, 13 May 2013 17:21:10 +0000
treeherdermozilla-aurora@1580544aef0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs856566
milestone23.0a1
Bug 856566 Followup fix for crashreporter_win.cpp(1227) : error C2065: 'nullptr' : undeclared identifier (VS2008SP1/VC9) r=ted.
toolkit/crashreporter/client/crashreporter_win.cpp
--- a/toolkit/crashreporter/client/crashreporter_win.cpp
+++ b/toolkit/crashreporter/client/crashreporter_win.cpp
@@ -18,16 +18,17 @@
 #include <shlobj.h>
 #include <shlwapi.h>
 #include <math.h>
 #include <set>
 #include <algorithm>
 #include "resource.h"
 #include "client/windows/sender/crash_report_sender.h"
 #include "common/windows/string_utils-inl.h"
+#include "mozilla/NullPtr.h"
 
 #define CRASH_REPORTER_VALUE L"Enabled"
 #define SUBMIT_REPORT_VALUE  L"SubmitCrashReport"
 #define SUBMIT_REPORT_OLD    L"SubmitReport"
 #define INCLUDE_URL_VALUE    L"IncludeURL"
 #define EMAIL_ME_VALUE       L"EmailMe"
 #define EMAIL_VALUE          L"Email"
 #define MAX_EMAIL_LENGTH     1024