# HG changeset patch # User Nicholas Nethercote # Date 1559716972 0 # Node ID 63684e4599a34b3b0d7cc2378fdf5b07dd1b7b01 # Parent f72a53615fb39346bfccb02a7785f52e3af723be Bug 1556891 - Remove unused defines from nsExceptionHandler.cpp. r=gsvelto Depends on D33737 Differential Revision: https://phabricator.services.mozilla.com/D33738 diff --git a/toolkit/crashreporter/nsExceptionHandler.cpp b/toolkit/crashreporter/nsExceptionHandler.cpp --- a/toolkit/crashreporter/nsExceptionHandler.cpp +++ b/toolkit/crashreporter/nsExceptionHandler.cpp @@ -123,18 +123,16 @@ namespace CrashReporter { #ifdef XP_WIN typedef wchar_t XP_CHAR; typedef std::wstring xpstring; # define XP_TEXT(x) L##x # define CONVERT_XP_CHAR_TO_UTF16(x) x # define XP_STRLEN(x) wcslen(x) # define my_strlen strlen # define CRASH_REPORTER_FILENAME "crashreporter.exe" -# define MINIDUMP_ANALYZER_FILENAME "minidump-analyzer.exe" -# define PATH_SEPARATOR "\\" # define XP_PATH_SEPARATOR L"\\" # define XP_PATH_SEPARATOR_CHAR L'\\' # define XP_PATH_MAX (MAX_PATH + 1) // "" "" # define CMDLINE_SIZE ((XP_PATH_MAX * 2) + 6) # ifdef _USE_32BIT_TIME_T # define XP_TTOA(time, buffer) ltoa(time, buffer, 10) # else @@ -142,18 +140,16 @@ typedef std::wstring xpstring; # endif # define XP_STOA(size, buffer) _ui64toa(size, buffer, 10) #else typedef char XP_CHAR; typedef std::string xpstring; # define XP_TEXT(x) x # define CONVERT_XP_CHAR_TO_UTF16(x) NS_ConvertUTF8toUTF16(x) # define CRASH_REPORTER_FILENAME "crashreporter" -# define MINIDUMP_ANALYZER_FILENAME "minidump-analyzer" -# define PATH_SEPARATOR "/" # define XP_PATH_SEPARATOR "/" # define XP_PATH_SEPARATOR_CHAR '/' # define XP_PATH_MAX PATH_MAX # ifdef XP_LINUX # define XP_STRLEN(x) my_strlen(x) # define XP_TTOA(time, buffer) my_inttostring(time, buffer, sizeof(buffer)) # define XP_STOA(size, buffer) my_inttostring(size, buffer, sizeof(buffer)) # else