From f21bf31eb0566f57f1a46fd0a5c4e16010712752 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Wed, 10 Feb 1999 00:35:02 +0000 Subject: [PATCH] back up the #ifndef XP_UNIX git-svn-id: svn://10.0.0.236/trunk@20196 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/intl/unicharutil/src/nsUnicharUtilFactory.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/intl/unicharutil/src/nsUnicharUtilFactory.cpp b/mozilla/intl/unicharutil/src/nsUnicharUtilFactory.cpp index f8f508d8a92..4ea8734a6c4 100644 --- a/mozilla/intl/unicharutil/src/nsUnicharUtilFactory.cpp +++ b/mozilla/intl/unicharutil/src/nsUnicharUtilFactory.cpp @@ -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