back up the #ifndef XP_UNIX

git-svn-id: svn://10.0.0.236/trunk@20196 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com
1999-02-10 00:35:02 +00:00
parent 96a55c36a5
commit f21bf31eb0

View File

@@ -103,7 +103,9 @@ extern "C" NS_EXPORT nsresult NSGetFactory(const nsCID &aCID, nsISupports* servi
extern "C" NS_EXPORT PRBool NSCanUnload() {
return PRBool(g_InstanceCount == 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,
@@ -114,3 +116,4 @@ extern "C" NS_EXPORT nsresult NSUnregisterSelf(const char *path)
{
return nsRepository::UnregisterFactory(kUnicharUtilCID, path);
}
#endif