mac shared lib conversion, phase 1

git-svn-id: svn://10.0.0.236/trunk@14992 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jfrancis%netscape.com 1998-11-20 05:02:56 +00:00
parent 91f873177c
commit afed7afdb1

View File

@ -150,8 +150,12 @@ nsresult nsViewFactory::LockFactory(PRBool aLock)
}
// return the proper factory to the caller
#ifdef XP_MAC
#ifdef MAC_STATIC
extern "C" NS_VIEW nsresult NSGetFactory_VIEW_DLL(const nsCID &aClass, nsIFactory **aFactory)
#elif defined(MAC_SHARED)
#pragma export on
extern "C" NS_VIEW nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory)
#pragma export off
#else
extern "C" NS_VIEW nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory)
#endif