From 96ccec1011410a6a6068bbfb56aeb8201855fdb5 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. --- plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp b/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp index 8559bcbc52f7..412eefc77be0 100644 --- a/plugin/oji/MRJCarbon/plugin/Source/MRJPlugin.cpp +++ b/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;