mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
temp turn off self reg on UNIX
This commit is contained in:
parent
4d51619e81
commit
2607a2b62c
@ -102,6 +102,9 @@ extern "C" NS_EXPORT PRBool NSCanUnload() {
|
||||
return PRBool(g_FactoryCount == 0 && g_LockCount == 0);
|
||||
}
|
||||
|
||||
// somehow UNIX have problem to link against nsRepository::RegisterFactory
|
||||
// temporary turn it off untill XPCOM folks fix it
|
||||
#ifndef XP_UNIX
|
||||
extern "C" NS_EXPORT nsresult NSRegisterSelf(const char *path)
|
||||
{
|
||||
return nsRepository::RegisterFactory(kUnicharUtilCID, path,
|
||||
@ -112,3 +115,4 @@ extern "C" NS_EXPORT nsresult NSUnregisterSelf(const char *path)
|
||||
{
|
||||
return nsRepository::UnregisterFactory(kUnicharUtilCID, path);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user