mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 13:45:46 +00:00
shared lib conversion, phase 1
This commit is contained in:
parent
da354a499c
commit
d54d3fa258
@ -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.
Loading…
x
Reference in New Issue
Block a user