Fixing mach-o static build - made a function static in nsAppShellService so that it doesn't conflict with global symbols; add TK_LIBS (-framework Carbon) to the link line for mozilla-bin for both carbon and cocoa builds. r=cls, rs=brendan.
git-svn-id: svn://10.0.0.236/trunk@122610 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
|
||||
#if defined(XP_MAC) || defined(XP_MACOSX)
|
||||
#include <Gestalt.h>
|
||||
PRBool OnMacOSX();
|
||||
static PRBool OnMacOSX();
|
||||
#endif
|
||||
|
||||
#include "nsWidgetsCID.h"
|
||||
@@ -1073,7 +1073,7 @@ nsAppShellService::GetNativeAppSupport( nsINativeAppSupport **aResult ) {
|
||||
//
|
||||
// Return true if we are on Mac OS X, caching the result after the first call
|
||||
//
|
||||
PRBool
|
||||
static PRBool
|
||||
OnMacOSX()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user