diff --git a/mozilla/widget/src/gtk/nsSelectionMgr.cpp b/mozilla/widget/src/gtk/nsSelectionMgr.cpp index 77c91840d8b..f629add3e93 100644 --- a/mozilla/widget/src/gtk/nsSelectionMgr.cpp +++ b/mozilla/widget/src/gtk/nsSelectionMgr.cpp @@ -140,6 +140,9 @@ nsresult NS_NewSelectionMgr(nsISelectionMgr** aInstancePtrResult) nsSelectionMgr* sm = new nsSelectionMgr; static nsIID iid = NS_ISELECTIONMGR_IID; return sm->QueryInterface(iid, (void**) aInstancePtrResult); +#else + // Need to return something here to not break the build on Solaris CC. + return NS_OK; #endif }