From f2dd7b1cbf302025c8fefec42a250560376c7f53 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Fri, 4 Jan 2002 21:34:24 +0000 Subject: [PATCH] [not part of build] Fix declaration of NSGetFactory to ensure it is extern "C". This prototype was removed from some header file and broke the plugin. git-svn-id: svn://10.0.0.236/trunk@111370 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp b/mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp index 8559bcbc52f..412eefc77be 100644 --- a/mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp +++ b/mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp @@ -114,6 +114,7 @@ static long getSystemVersion() return version; } +extern "C" nsresult NSGetFactory(nsISupports* serviceManager, const nsCID &aClass, const char *aClassName, const char *aContractID, nsIFactory **aFactory) { nsresult result = NS_OK;