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:
parent
91f873177c
commit
afed7afdb1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user