shared lib conversion, phase 1

This commit is contained in:
jfrancis%netscape.com 1998-11-18 06:36:44 +00:00
parent da354a499c
commit d54d3fa258
2 changed files with 6 additions and 1 deletions

View File

@ -240,8 +240,13 @@ nsIDOMNativeObjectRegistry *NativeObjectRegistryManager::gRegistry = nsnull;
static NativeObjectRegistryManager gManager;
// return the proper factory to the caller
#ifdef XP_MAC
#ifdef MAC_STATIC
extern "C" NS_LAYOUT nsresult NSGetFactory_LAYOUT_DLL(const nsCID &aClass, nsIFactory **aFactory)
#elif defined(MAC_SHARED)
#pragma export on
extern "C" NS_LAYOUT nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory)
#pragma export off
// for non-mac platforms:
#else
extern "C" NS_LAYOUT nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory)
#endif

Binary file not shown.