Bustage fix: work around XRE hackery.
Bustage fix: work around XRE hackery.
--- a/ipc/app/MozillaRuntimeMain.cpp
+++ b/ipc/app/MozillaRuntimeMain.cpp
@@ -65,17 +65,17 @@ main(int argc, char* argv[])
// disabled.
if (0 != strcmp("-", crashReporterArg)
&& !XRE_SetRemoteExceptionHandler(crashReporterArg))
return 1;
# elif defined(OS_LINUX)
// on POSIX, |crashReporterArg| is "true" if crash reporting is
// enabled, false otherwise
if (0 != strcmp("false", crashReporterArg)
- && !XRE_SetRemoteExceptionHandler())
+ && !XRE_SetRemoteExceptionHandler(NULL))
return 1;
# else
# error "OOP crash reporting unsupported on this platform"
# endif
#endif // if defined(MOZ_CRASHREPORTER)
#if defined(XP_WIN) && defined(DEBUG_bent)
MessageBox(NULL, L"Hi", L"Hi", MB_OK);
--- a/xpcom/build/nsXULAppAPI.h
+++ b/xpcom/build/nsXULAppAPI.h
@@ -446,17 +446,17 @@ PR_STATIC_ASSERT(sizeof(kGeckoProcessTyp
XRE_API(const char*,
XRE_ChildProcessTypeToString, (GeckoProcessType aProcessType))
XRE_API(GeckoProcessType,
XRE_StringToChildProcessType, (const char* aProcessTypeString))
#if defined(MOZ_CRASHREPORTER)
XRE_API(PRBool,
- XRE_SetRemoteExceptionHandler, (const char* aPipe=0))
+ XRE_SetRemoteExceptionHandler, (const char* aPipe))
#endif
XRE_API(nsresult,
XRE_InitChildProcess, (int aArgc,
char* aArgv[],
GeckoProcessType aProcess))
XRE_API(GeckoProcessType,