temp turn off self reg on UNIX

This commit is contained in:
ftang%netscape.com 1999-01-01 01:29:12 +00:00
parent 4d51619e81
commit 2607a2b62c

View File

@ -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