Mac shared library migration.

git-svn-id: svn://10.0.0.236/trunk@15474 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com
1998-11-30 22:15:00 +00:00
parent 57c4d48cc4
commit 810f6cfdf2
50 changed files with 473 additions and 179 deletions

View File

@@ -15,6 +15,7 @@
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nscore.h"
#include "nsIFactory.h"
#include "nsISupports.h"
@@ -143,7 +144,7 @@ nsresult nsNetFactory::LockFactory(PRBool aLock)
}
// return the proper factory to the caller
#ifdef XP_MAC
#if defined(XP_MAC) && defined(MAC_STATIC)
extern "C" NS_NET nsresult NSGetFactory_NETLIB_DLL(const nsCID &aClass, nsIFactory **aFactory)
#else
extern "C" NS_NET nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory)