Bug 648581 - Add MOZ_CRASHREPORTER ifdefs to nsWindowsDllBlocklist.cpp to fix build errors with --disable-crashreporter; rs=glandium

This commit is contained in:
Ed Morley 2011-09-20 11:54:15 +01:00
parent bff7c63ada
commit 4cf87784b3

View File

@ -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
}