summaryrefslogtreecommitdiff
path: root/dom/plugins/ipc/PluginModuleChild.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-11-02 14:37:22 +0100
committerGitHub <noreply@github.com>2019-11-02 14:37:22 +0100
commitac253a52fc3b4acb440d498021e8dc7b0da44b0c (patch)
tree0038ae92f1cc7aaff0b55d6e5ac59efcc28bdf8f /dom/plugins/ipc/PluginModuleChild.cpp
parent63038fbb2c31bfb9c6f650ce1a992c5b0eb8d64d (diff)
parent659c7a7d6da224824c49bd64459cb7a16d826a78 (diff)
downloaduxp-ac253a52fc3b4acb440d498021e8dc7b0da44b0c.tar.gz
Merge pull request #1262 from athenian200/solaris-work
Support Modern Solaris
Diffstat (limited to 'dom/plugins/ipc/PluginModuleChild.cpp')
-rw-r--r--dom/plugins/ipc/PluginModuleChild.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/plugins/ipc/PluginModuleChild.cpp b/dom/plugins/ipc/PluginModuleChild.cpp
index cbf6e509f2..f943dfc427 100644
--- a/dom/plugins/ipc/PluginModuleChild.cpp
+++ b/dom/plugins/ipc/PluginModuleChild.cpp
@@ -286,7 +286,7 @@ PluginModuleChild::InitForChrome(const std::string& aPluginFilename,
// TODO: use PluginPRLibrary here
-#if defined(OS_LINUX) || defined(OS_BSD)
+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS)
mShutdownFunc =
(NP_PLUGINSHUTDOWN) PR_FindFunctionSymbol(mLibrary, "NP_Shutdown");
@@ -1821,7 +1821,7 @@ PluginModuleChild::AnswerNP_GetEntryPoints(NPError* _retval)
AssertPluginThread();
MOZ_ASSERT(mIsChrome);
-#if defined(OS_LINUX) || defined(OS_BSD)
+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS)
return true;
#elif defined(OS_WIN) || defined(OS_MACOSX)
*_retval = mGetEntryPointsFunc(&mFunctions);
@@ -1866,7 +1866,7 @@ PluginModuleChild::DoNP_Initialize(const PluginSettings& aSettings)
#endif
NPError result;
-#if defined(OS_LINUX) || defined(OS_BSD)
+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS)
result = mInitializeFunc(&sBrowserFuncs, &mFunctions);
#elif defined(OS_WIN) || defined(OS_MACOSX)
result = mInitializeFunc(&sBrowserFuncs);