blob: 64e69229c60f26458e3bd2cb9b047652762c4d9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-toolkit_xre_nsEmbedFunctions.cpp,v 1.7 2017/06/14 11:28:44 ryoon Exp $
* Support Solaris
--- toolkit/xre/nsEmbedFunctions.cpp.orig 2017-06-05 20:45:23.000000000 +0000
+++ toolkit/xre/nsEmbedFunctions.cpp
@@ -285,7 +285,7 @@ XRE_SetRemoteExceptionHandler(const char
{
#if defined(XP_WIN) || defined(XP_MACOSX)
return CrashReporter::SetRemoteExceptionHandler(nsDependentCString(aPipe));
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_SOLARIS)
return CrashReporter::SetRemoteExceptionHandler();
#else
# error "OOP crash reporter unsupported on this platform"
@@ -504,7 +504,7 @@ XRE_InitChildProcess(int aArgc,
// Bug 684322 will add better visibility into this condition
NS_WARNING("Could not setup crash reporting\n");
}
-# elif defined(OS_LINUX)
+# elif defined(OS_LINUX) || defined(OS_SOLARIS)
// on POSIX, |crashReporterArg| is "true" if crash reporting is
// enabled, false otherwise
if (0 != strcmp("false", crashReporterArg) &&
|