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
Родитель bff7c63ada
Коммит 4cf87784b3
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

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