mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 648581 - Add MOZ_CRASHREPORTER ifdefs to nsWindowsDllBlocklist.cpp to fix build errors with --disable-crashreporter; rs=glandium
This commit is contained in:
parent
bff7c63ada
commit
4cf87784b3
@ -52,7 +52,9 @@
|
||||
|
||||
#include "nsWindowsDllInterceptor.h"
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
#include "nsExceptionHandler.h"
|
||||
#endif
|
||||
|
||||
#define ALL_VERSIONS ((unsigned long long)-1LL)
|
||||
|
||||
@ -307,7 +309,9 @@ XRE_SetupDllBlocklist()
|
||||
printf_stderr ("LdrLoadDll hook failed, no dll blocklisting active\n");
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
if (!ok) {
|
||||
CrashReporter::AppendAppNotesToCrashReport(NS_LITERAL_CSTRING("DllBlockList Failed\n"));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user